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:
commit
d554cfc4e0
|
@ -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