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 \
|
-pogAXtlHrDx \
|
||||||
/etc/apt/trusted.gpg.d/{elementary,patches}.key.asc \
|
/etc/apt/trusted.gpg.d/{elementary,patches}.key.asc \
|
||||||
/mnt/etc/apt/trusted.gpg.d/
|
/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
|
fi
|
||||||
|
|||||||
@@ -74,6 +74,8 @@ fi
|
|||||||
|
|
||||||
if [[ "${ID}" == 'debian' ]]; then
|
if [[ "${ID}" == 'debian' ]]; then
|
||||||
"${baseDir}/debian.sh" --network-interfaces
|
"${baseDir}/debian.sh" --network-interfaces
|
||||||
|
elif [[ "${ID}" == 'elementary' ]]; then
|
||||||
|
"${baseDir}/elementary.sh" --network
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${ID}" == 'elementary' ]]; then
|
if [[ "${ID}" == 'elementary' ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user