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:
Drew Rogers 2013-05-15 10:52:20 -03:00
parent ccfd321ef9
commit c4066fd865
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ BOOTPROTO=none
ONBOOT=yes
IPADDR=<%= options[:ip] %>
NETMASK=<%= options[:netmask] %>
DEVICE=p7p<%= options[:interface] %>
DEVICE=eth<%= options[:interface] %>
<%= options[:gateway] ? "GATEWAY=#{options[:gateway]}" : '' %>
<%= options[:mac_address] ? "HWADDR=#{options[:mac_address]}" : '' %>
<%= options[:dns1] ? "DNS1=#{options[:dns1]}" : 'DNS1=8.8.4.4' %>