fix network interface name on fedora

This commit is contained in:
Isao Shimizu 2013-11-21 21:07:42 +09:00
parent b4aa8c0061
commit 8a3d7aae15
1 changed files with 1 additions and 1 deletions

View File

@ -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