Make network name an argument in create-sc-instance
This commit is contained in:
parent
4ed6040808
commit
c3e5ff46af
1 changed files with 6 additions and 1 deletions
|
@ -197,6 +197,11 @@ def main() -> (
|
|||
help="provide disk size in GB",
|
||||
required=True,
|
||||
)
|
||||
parser.add_argument(
|
||||
"--network-name",
|
||||
help="provide disk size in GB",
|
||||
required=True,
|
||||
)
|
||||
parser.add_argument(
|
||||
"--verbose",
|
||||
help="include additional informational messages about what is being done",
|
||||
|
@ -237,7 +242,7 @@ def main() -> (
|
|||
|
||||
keypair = get_keypair(conn, args.key_name)
|
||||
|
||||
network_name = "public"
|
||||
network_name = args.network_name
|
||||
|
||||
server = conn.compute.find_server(args.fqdn)
|
||||
if server is not None:
|
||||
|
|
Loading…
Add table
Reference in a new issue