All my Ansible Playbooks
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
282 B

DEVICE={{ item }}
TYPE=Ethernet
ONBOOT=yes
BOOTPROTO=dhcp
USERCTL=no
PEERDNS=yes
IPV6INIT=no
DHCP_HOSTNAME={{ shortname }}
## Static configuration sample.
## Gateway to be configured in /etc/sysconfig/network.
##
# BOOTPROTO=static
# IPADDR=192.168.38.179
# NETMASK=255.255.255.0