We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df41bed commit 4bf9994Copy full SHA for 4bf9994
include/core/net/deploy.sh
@@ -27,7 +27,9 @@ do_configure()
27
do
28
echo "nameserver ${dns}" >> "${CHROOT_DIR}/etc/resolv.conf"
29
done
30
- sed -i 's/systemd//g' "${CHROOT_DIR}/etc/nsswitch.conf"
+ if [ -e "${CHROOT_DIR}/etc/nsswitch.conf" ]; then
31
+ sed -i 's/systemd//g' "${CHROOT_DIR}/etc/nsswitch.conf"
32
+ fi
33
return 0
34
}
35
0 commit comments