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