Changed Device name to fix private_network bug
If you try and start fedora with a :private_network, it will fail saying the 'p7p1 device doesn't exist'. Fixed with changing device to eth.
This commit is contained in:
parent
ccfd321ef9
commit
c4066fd865
|
@ -5,7 +5,7 @@ BOOTPROTO=none
|
||||||
ONBOOT=yes
|
ONBOOT=yes
|
||||||
IPADDR=<%= options[:ip] %>
|
IPADDR=<%= options[:ip] %>
|
||||||
NETMASK=<%= options[:netmask] %>
|
NETMASK=<%= options[:netmask] %>
|
||||||
DEVICE=p7p<%= options[:interface] %>
|
DEVICE=eth<%= options[:interface] %>
|
||||||
<%= options[:gateway] ? "GATEWAY=#{options[:gateway]}" : '' %>
|
<%= options[:gateway] ? "GATEWAY=#{options[:gateway]}" : '' %>
|
||||||
<%= options[:mac_address] ? "HWADDR=#{options[:mac_address]}" : '' %>
|
<%= options[:mac_address] ? "HWADDR=#{options[:mac_address]}" : '' %>
|
||||||
<%= options[:dns1] ? "DNS1=#{options[:dns1]}" : 'DNS1=8.8.4.4' %>
|
<%= options[:dns1] ? "DNS1=#{options[:dns1]}" : 'DNS1=8.8.4.4' %>
|
||||||
|
|
Loading…
Reference in New Issue