|
|
@ -451,7 +451,7 @@ EOF
|
|
|
|
# default. Installing NM on an existing system only manages wifi and wwan via
|
|
|
|
# default. Installing NM on an existing system only manages wifi and wwan via
|
|
|
|
# /usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf. When setting
|
|
|
|
# /usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf. When setting
|
|
|
|
# the global backend to NM, netplan overrides that file.
|
|
|
|
# the global backend to NM, netplan overrides that file.
|
|
|
|
if [ -d chroot/usr/lib/NetworkManager ]; then
|
|
|
|
if [ -e chroot/usr/sbin/NetworkManager ]; then
|
|
|
|
echo "===== Enabling all devices in NetworkManager ===="
|
|
|
|
echo "===== Enabling all devices in NetworkManager ===="
|
|
|
|
mkdir -p chroot/etc/netplan
|
|
|
|
mkdir -p chroot/etc/netplan
|
|
|
|
cat <<EOF > chroot/etc/netplan/01-network-manager-all.yaml
|
|
|
|
cat <<EOF > chroot/etc/netplan/01-network-manager-all.yaml
|
|
|
|