You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cloudPrivateParentCreateCmd.Flags().Int64("config-id", -1, "config-id (category must be bare-metal or bare-metal-r)")
73
+
cloudPrivateParentCreateCmd.Flags().Int64("config-id", cast.ToInt64(defaultFlag("cloud_private-parent_create_config-id", -1)), "config-id (category must be bare-metal or bare-metal-r)")
73
74
cloudPrivateParentCreateCmd.Flags().String("name", "", "name for your Private Parent")
74
-
cloudPrivateParentCreateCmd.Flags().Int64("zone", -1, "id number of the zone to provision the Private Parent in ('cloud server options --zones')")
cloudServerCreateCmd.Flags().String("template", "", "template to use (see 'cloud server options --templates')")
144
+
cloudServerCreateCmd.Flags().String("template", cast.ToString(defaultFlag("cloud_server_create_template")), "template to use (see 'cloud server options --templates')")
145
145
cloudServerCreateCmd.Flags().String("type", "SS.VPS", "some examples of types; SS.VPS, SS.VPS.WIN, SS.VM, SS.VM.WIN")
146
146
cloudServerCreateCmd.Flags().String("hostname", "", "hostname to set")
147
147
cloudServerCreateCmd.Flags().Int("ips", 1, "amount of IPv4 addresses")
148
148
cloudServerCreateCmd.Flags().Int("ip6s", 0, "amount of IPv6 /64s")
"path to file containing the public ssh key you wish to be on the new Cloud Server")
151
-
cloudServerCreateCmd.Flags().Int("config-id", 0, "config-id to use")
151
+
cloudServerCreateCmd.Flags().Int("config-id", cast.ToInt(defaultFlag("cloud_server_create_config-id", -1)), "config-id to use")
152
152
cloudServerCreateCmd.Flags().Int("backup-days", -1, "Enable daily backup plan. This is the amount of days to keep a backup")
153
153
cloudServerCreateCmd.Flags().Int("backup-quota", -1, "Enable quota backup plan. This is the total amount of GB to keep.")
154
154
cloudServerCreateCmd.Flags().String("bandwidth", "SS.10000", "bandwidth package to use")
155
-
cloudServerCreateCmd.Flags().Int64("zone", 0, "zone (id) to create new Cloud Server in (see 'cloud server options --zones')")
155
+
cloudServerCreateCmd.Flags().Int64("zone", cast.ToInt64(defaultFlag("cloud_server_create_zone", -1)), "zone (id) to create new Cloud Server in (see 'cloud server options --zones')")
156
156
cloudServerCreateCmd.Flags().String("password", "", "root or administrator password to set")
157
157
158
158
cloudServerCreateCmd.Flags().Int("backup-id", -1, "id of cloud backup to create from (see 'cloud backup list')")
0 commit comments