mirror of https://github.com/apache/cloudstack.git
VPC: added vpccidr to the list of VPC router bootload args
This commit is contained in:
parent
37f29ccb11
commit
07ef43bc84
|
|
@ -670,8 +670,13 @@ public class VpcVirtualNetworkApplianceManagerImpl extends VirtualNetworkApplian
|
|||
it.remove();
|
||||
}
|
||||
}
|
||||
|
||||
//add vpc cidr to the boot load args
|
||||
StringBuilder buf = profile.getBootArgsBuilder();
|
||||
Vpc vpc = _vpcMgr.getVpc(profile.getVirtualMachine().getVpcId());
|
||||
buf.append(" vpccidr=" + vpc.getCidr());
|
||||
}
|
||||
|
||||
|
||||
return super.finalizeVirtualMachineProfile(profile, dest, context);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue