mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
VPC: added vpccidr to the list of VPC router bootload args
This commit is contained in:
parent
2dc1a286f6
commit
1ee0c30935
@ -675,8 +675,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…
x
Reference in New Issue
Block a user