Huddle01 Cloud
CLIVirtual Machines

hudl vm attach-network <id>

Attach an additional network interface to a running VM.

Attach an additional network interface to a running VM. The new interface appears inside the guest as a new NIC and may require manual IP configuration depending on the OS.

Usage

hudl vm attach-network <id> [flags]

Flags

FlagDescription
--network <id>(required) Network ID to attach.
--subnet <id>Subnet ID within the network. If omitted, the default subnet is used.
--fixed-ip <address>Request a specific IP address on the subnet.

Common flags

FlagDescription
--region <code>Override the active region for this call only.
--workspace <slug>Override the active workspace for this call only.
-o, --outputOutput format: table (default), json, yaml, wide, name.
--idempotency-key <key>Attach an idempotency key so retries are safe.

Examples

Attach a network to a VM:

hudl vm attach-network 3e2a7f19-b8c4-4d5e-9f1a-6c7d8e9f0a1b \
  --network a1b2c3d4-e5f6-7890-abcd-ef1234567890

Attach with a specific subnet and fixed IP:

hudl vm attach-network 3e2a7f19-b8c4-4d5e-9f1a-6c7d8e9f0a1b \
  --network a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
  --subnet f0e1d2c3-b4a5-6789-0fed-cba987654321 \
  --fixed-ip 10.0.1.50

API reference

This command calls POST /instances/{id}/network under the hood. See the full request and response schema in the API reference.