Bookwork image runs netplan
This commit is contained in:
parent
b057f0aeda
commit
69377631a8
|
@ -75,7 +75,7 @@ if grep -q '^# en_US.UTF-8 UTF-8$' $locale_gen_file; then
|
||||||
locale-gen
|
locale-gen
|
||||||
fi
|
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'
|
interfaces_file='/etc/network/interfaces.d/50-cloud-init'
|
||||||
|
|
||||||
if [ -f "${interfaces_file}" ]; then
|
if [ -f "${interfaces_file}" ]; then
|
||||||
|
|
Loading…
Reference in a new issue