From c4066fd865cec586421b282a2a5a797eca320955 Mon Sep 17 00:00:00 2001 From: Drew Rogers Date: Wed, 15 May 2013 10:52:20 -0300 Subject: [PATCH] Changed Device name to fix private_network bug If you try and start fedora with a :private_network, it will fail saying the 'p7p1 device doesn't exist'. Fixed with changing device to eth. --- templates/guests/fedora/network_static.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' %>