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.
This commit is contained in:
parent
179f96f60a
commit
80fe81cf83
1 changed files with 1 additions and 1 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue