From 80fe81cf8396e5ad42a5b2db83b694444573eb15 Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Tue, 23 Feb 2021 18:01:34 +0000 Subject: [PATCH] Give CentOS 8 installer explicit network device Seems that install works without defining this but after install is completed all interfaces are converted to DHCP which is default. --- group_vars/centos8.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/group_vars/centos8.yml b/group_vars/centos8.yml index 18e91f6..ec90b50 100644 --- a/group_vars/centos8.yml +++ b/group_vars/centos8.yml @@ -12,7 +12,7 @@ ipcmd: >- {% set int=network_interfaces[0] %} {% if int['ipaddr'] is defined and int['gateway'] is defined %} nameserver=8.8.8.8 - ip={{ int['ipaddr'] }}::{{ int['gateway'] }}:{{ int['netmask'] }}:::none + ip={{ int['ipaddr'] }}::{{ int['gateway'] }}:{{ int['netmask'] }}::eth0:none {% endif %} {% endif %} {% endif %}