Browse Source

fixed network config

Toastie 1 year ago
parent
commit
47baef5fde
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bootrap-bullseye.sh

+ 1 - 1
bootrap-bullseye.sh

@@ -135,7 +135,7 @@ sed -i -e 's/#Port 22/Port 50101/g' /etc/ssh/sshd_config
 sed -i -e 's/#PubkeyAuthentication yes/PubkeyAuthentication yes/g' /etc/ssh/sshd_config
 
 ## Configure network using systemd
-if [ ! -z $netAddress ]
+if [ -z $netAddress ]
 then
 ## Network OPTION 1 - DHCP
 cat >/etc/systemd/network/20-wired.network <<EOL