Skip to content

Commit

Permalink
Merge pull request #45 from SUNET/jocar-bookwork-fix
Browse files Browse the repository at this point in the history
Bookwork image runs netplan
  • Loading branch information
mickenordin authored Oct 16, 2023
2 parents b057f0a + 6937763 commit 9b6322c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iaas-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9b6322c

Please sign in to comment.