From 876e4b9a700c9a932227b391063d09bacc9bbdc9 Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Wed, 26 Oct 2011 23:29:49 -0700 Subject: [PATCH] give dummy ip to eth1 --- tools/xen/templates/interfaces.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/xen/templates/interfaces.in b/tools/xen/templates/interfaces.in index ef4796f..8fa8840 100644 --- a/tools/xen/templates/interfaces.in +++ b/tools/xen/templates/interfaces.in @@ -6,9 +6,11 @@ iface eth0 inet dhcp auto eth1 iface eth1 inet static + # A host-only ip that let's the interface come up, otherwise unused + address 10.255.255.255 netmask @ETH1_NETMASK@ +up ifconfig eth1 up post-up ethtool -K eth1 tx off -post-up ifconfig eth1 up auto eth2 iface eth2 inet static