diff --git a/templates/guests/fedora/network_static.erb b/templates/guests/fedora/network_static.erb index 327fa46f8..3ecc460a7 100644 --- a/templates/guests/fedora/network_static.erb +++ b/templates/guests/fedora/network_static.erb @@ -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' %>