From 8a3d7aae159b5e6c5465fca0503afaac9b135f98 Mon Sep 17 00:00:00 2001 From: Isao Shimizu Date: Thu, 21 Nov 2013 21:07:42 +0900 Subject: [PATCH] fix network interface name on fedora --- 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 c45a957727f..99c6888be1e 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=eth<%= options[:interface] %> +DEVICE=p7p<%= options[:interface] %> <%= options[:gateway] ? "GATEWAY=#{options[:gateway]}" : '' %> <%= options[:mac_address] ? "HWADDR=#{options[:mac_address]}" : '' %> PEERDNS=no