| Ivan Berezovskiy | c46e7c0 | 2018-10-29 18:22:09 +0400 | [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 | 
 | 14 |   netmask $DEPLOY_NETWORK_NETMASK | 
 | 15 |   gateway $DEPLOY_NETWORK_GW | 
 | 16 |   mtu $DEPLOY_NETWORK_MTU | 
 | 17 |   dns-nameservers $DNS_SERVERS | 
 | 18 | #auto ens4 | 
 | 19 | #iface ens4 inet static | 
 | 20 | #  address $SALT_MASTER_CONTROL_IP | 
 | 21 | #  netmask $SALT_MASTER_CONTROL_NETMASK |