Bookwork image runs netplan

This commit is contained in:
Johan Wassberg 2023-10-16 09:25:57 +02:00
parent b057f0aeda
commit 69377631a8
Signed by: jocar
GPG key ID: BE4EC2EEADF2C31B

View file

@ -75,7 +75,7 @@ if grep -q '^# en_US.UTF-8 UTF-8$' $locale_gen_file; then
locale-gen
fi
if [ "$(lsb_release -is)" == "Debian" ]; then
if [ "$(lsb_release -is)" == "Debian" ] && [ "$(lsb_release -cs)" == "bullseye" ]; then
interfaces_file='/etc/network/interfaces.d/50-cloud-init'
if [ -f "${interfaces_file}" ]; then