Added bits that should fix networking both in chroot and after install
This commit is contained in:
@@ -105,4 +105,16 @@ elif [[ "${1}" == '--elementary' ]]; then
|
||||
-pogAXtlHrDx \
|
||||
/etc/apt/trusted.gpg.d/{elementary,patches}.key.asc \
|
||||
/mnt/etc/apt/trusted.gpg.d/
|
||||
elif [[ "${1}" == '--network' ]]; then
|
||||
mkdir \
|
||||
-p \
|
||||
/mnt/run/systemd/resolve/
|
||||
|
||||
mount \
|
||||
--bind \
|
||||
/run/systemd/resolve/stub-resolv.conf \
|
||||
/mnt/run/systemd/resolve/stub-resolv.conf
|
||||
|
||||
touch \
|
||||
/etc/NetworkManager/conf.d/10-globally-managed-devices.conf
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user