From 69377631a8c63d63ce929d2cd0df5a95c249b0a3 Mon Sep 17 00:00:00 2001 From: Johan Wassberg Date: Mon, 16 Oct 2023 09:25:57 +0200 Subject: [PATCH] Bookwork image runs netplan --- iaas-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iaas-setup.sh b/iaas-setup.sh index a236b69..cc3e914 100755 --- a/iaas-setup.sh +++ b/iaas-setup.sh @@ -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