Skip to content
Snippets Groups Projects
Commit f9aa369a 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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment