Skip to content

etc/network/interfaces - #comment is wrong

configured based on ip from dhcp during ansible run

"from dhcp" is not always correct.
It had a static IP, I ran ansible-up, this happneed:


-# The primary network interface
-allow-hotplug enp15s0
-# iface enp15s0 inet dhcp
+# bare
+# hostname bare not found in staticips
+# configured based on ip from dhcp during ansible run
+auto enp15s0
 iface enp15s0 inet static
-  address 45.20.162.9/24
-  gateway 45.20.162.14
-  dns-server 8.8.8.8
+	address 45.20.162.9
+	netmask 255.255.255.0
+	gateway 45.20.162.14
+	dns-nameserver 192.168.1.254

likely no big deal, but should be double checked, and maybe the #Comment updated. I'll likely dig into this soon.