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 <[email protected]> 1365546368 -0600 Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/5516a5ad Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5516a5ad Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/5516a5ad Branch: refs/heads/internallb Commit: 5516a5adcadac7c7a4fbdd27d856a99982104c66 Parents: 18def02 Author: Marcus Sorensen <[email protected]> Authored: Tue Apr 9 16:26:08 2013 -0600 Committer: Alena Prokharchyk <[email protected]> Committed: Wed Apr 10 15:43:36 2013 -0700 ---------------------------------------------------------------------- .../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/5516a5ad/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 2b99c5b..514c0b0 100755 --- a/patches/systemvm/debian/config/etc/init.d/cloud-early-config +++ b/patches/systemvm/debian/config/etc/init.d/cloud-early-config @@ -704,7 +704,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
