Updated Branches:
  refs/heads/4.1 d91e16222 -> cf6e67bfe

VPC - new system vm doesn't bring up eth0 reliably, and we don't set eth0 to
auto start like we should.  cloud-early-config sets 'auto lo $1', but we don't
pass $1 in vpc router scenario like we do in others for some reason. eth0 is
always link local in vpc router, so setting it to that.

Signed-off-by: Marcus Sorensen <mar...@betterservers.com> 1365546368 -0600


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/cf6e67bf
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/cf6e67bf
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/cf6e67bf

Branch: refs/heads/4.1
Commit: cf6e67bfe57e4e4b78ddef48eccdda25402f5355
Parents: d91e162
Author: Marcus Sorensen <mar...@betterservers.com>
Authored: Tue Apr 9 16:26:08 2013 -0600
Committer: Chip Childers <chip.child...@gmail.com>
Committed: Wed Apr 10 21:57:18 2013 +0100

----------------------------------------------------------------------
 .../debian/config/etc/init.d/cloud-early-config    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/cf6e67bf/patches/systemvm/debian/config/etc/init.d/cloud-early-config
----------------------------------------------------------------------
diff --git a/patches/systemvm/debian/config/etc/init.d/cloud-early-config 
b/patches/systemvm/debian/config/etc/init.d/cloud-early-config
index 13b0781..25bb8b1 100755
--- a/patches/systemvm/debian/config/etc/init.d/cloud-early-config
+++ b/patches/systemvm/debian/config/etc/init.d/cloud-early-config
@@ -696,7 +696,7 @@ setup_vpcrouter() {
   fi
 
     cat > /etc/network/interfaces << EOF
-auto lo $1
+auto lo eth0
 iface lo inet loopback
 EOF
   setup_interface "0" $ETH0_IP $ETH0_MASK $GW

Reply via email to