Make network name an argument in create-sc-instance

This commit is contained in:
Patrik Holmqvist 2025-02-18 10:12:17 +01:00
parent 4ed6040808
commit c3e5ff46af
Signed by: pahol
GPG key ID: 5D5B0D4E93F77273

View file

@ -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: