add parameter --no-public-ip

This commit is contained in:
Mykhailo Oleksiuk 2016-08-05 17:21:15 +03:00
parent 911092e419
commit 0c96f5dd1d
1 changed files with 2 additions and 0 deletions

View File

@ -359,6 +359,8 @@ func (c *CreateClusterCmd) Run(args []string) error {
if c.NoPublicIP {
fullCluster.Spec.AssociatePublicIP = fi.Bool(false);
} else {
fullCluster.Spec.AssociatePublicIP = fi.Bool(true);
}
applyCmd := &cloudup.ApplyClusterCmd{