Jiri Broulik | 4ea221c | 2018-04-10 13:48:06 +0200 | [diff] [blame] | 1 | # This file describes the network interfaces available on your system |
| 2 | # and how to activate them. For more information, see interfaces(5). |
| 3 | |
| 4 | source /etc/network/interfaces.d/* |
| 5 | |
| 6 | # The loopback network interface |
| 7 | auto lo |
| 8 | iface lo inet loopback |
| 9 | |
| 10 | # The primary network interface |
| 11 | auto ens3 |
| 12 | iface ens3 inet static |
| 13 | address $SALT_MASTER_DEPLOY_IP |
Jiri Broulik | 449bc6a | 2018-04-11 13:21:49 +0200 | [diff] [blame] | 14 | netmask $DEPLOY_NETWORK_NETMASK |
| 15 | gateway $DEPLOY_NETWORK_GW |
Petr Ruzicka | e0b52ec | 2018-07-03 12:37:56 +0200 | [diff] [blame] | 16 | mtu $DEPLOY_NETWORK_MTU |
Jiri Broulik | 449bc6a | 2018-04-11 13:21:49 +0200 | [diff] [blame] | 17 | dns-nameservers $DNS_SERVERS |
Jiri Broulik | 4ea221c | 2018-04-10 13:48:06 +0200 | [diff] [blame] | 18 | #auto ens4 |
| 19 | #iface ens4 inet static |
| 20 | # address $SALT_MASTER_CONTROL_IP |
Jiri Broulik | 449bc6a | 2018-04-11 13:21:49 +0200 | [diff] [blame] | 21 | # netmask $SALT_MASTER_CONTROL_NETMASK |