Drop NetworkManager default config (#1813)
* Drop default NetworkManager configuration NetworkManager will automatically connect using the global defaults. Also Supervisor today will create a profiles once the user configures the network explicitly. * Create system-connection directory
This commit is contained in:
@@ -3,11 +3,7 @@
|
||||
mkdir -p /mnt/overlay/etc/
|
||||
|
||||
# Network
|
||||
if [ ! -d /mnt/overlay/etc/NetworkManager/system-connections ]; then
|
||||
mkdir -p /mnt/overlay/etc/NetworkManager/system-connections
|
||||
cp -fp /etc/NetworkManager/system-connections/* /mnt/overlay/etc/NetworkManager/system-connections/
|
||||
chmod 600 /mnt/overlay/etc/NetworkManager/system-connections/*
|
||||
fi
|
||||
mkdir -p /mnt/overlay/etc/NetworkManager/system-connections
|
||||
|
||||
if [ ! -f /mnt/overlay/etc/hostname ]; then
|
||||
cp -fp /etc/hostname /mnt/overlay/etc/hostname
|
||||
|
||||
Reference in New Issue
Block a user