fix network interface name on fedora
This commit is contained in:
parent
b4aa8c0061
commit
8a3d7aae15
|
@ -5,7 +5,7 @@ BOOTPROTO=none
|
||||||
ONBOOT=yes
|
ONBOOT=yes
|
||||||
IPADDR=<%= options[:ip] %>
|
IPADDR=<%= options[:ip] %>
|
||||||
NETMASK=<%= options[:netmask] %>
|
NETMASK=<%= options[:netmask] %>
|
||||||
DEVICE=eth<%= options[:interface] %>
|
DEVICE=p7p<%= 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]}" : '' %>
|
||||||
PEERDNS=no
|
PEERDNS=no
|
||||||
|
|
Loading…
Reference in New Issue