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/be55c5b3 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/be55c5b3 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/be55c5b3 Branch: refs/heads/ui-mixed-zone-management Commit: be55c5b3a58376eb2048a8add155ff09f14e65eb Parents: bf56403 Author: Marcus Sorensen <mar...@betterservers.com> Authored: Tue Apr 9 16:26:08 2013 -0600 Committer: Marcus Sorensen <mar...@betterservers.com> Committed: Tue Apr 9 16:26:08 2013 -0600 ---------------------------------------------------------------------- .../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/be55c5b3/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