Add static network interface

This commit is contained in:
2020-04-24 22:24:02 -04:00
parent 1c3355e052
commit ff709be0db
3 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
# {{ ansible_managed }}
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto {{ ip_inter }}
iface {{ ip_inter }} inet static
address {{ ip_addr }}
gateway {{ ip_gateway }}