Merge pull request #2521 from isaoshimizu/fix_nic_name_on_fedora

guests/fedora: fix network interface name on fedora. issue #2520
This commit is contained in:
Mitchell Hashimoto 2013-11-23 11:06:26 -08:00
commit d554cfc4e0
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