Skip to content
Snippets Groups Projects
Commit 2b1720db authored by Eesaan Atluri's avatar Eesaan Atluri
Browse files

feat: Use conditional to make --network optional

Closes rc/hpc-factory#181

Defining a network can be optional when a port is already defined when
deploying a VM.

This commit adds flexibility where you can either use --port or
--network options to define a network during the deployment.

Alternatively, you can define both but the port cannot be from the same
network you used in the --network option. Otherwise, you will have two
ips from the same network which will cause network reachability issues.
parent 91c02c78
No related branches found
No related tags found
No related merge requests found
Pipeline #12984 passed with stage
in 2 minutes and 27 seconds
Status
Pipeline
Created by
Stages
Actions
Passed

00:02:27

avatar

No artifacts found

Passed

00:01:46

avatar

No artifacts found

Failed

00:03:48

avatar

No artifacts found