Page cover
For the complete documentation index, see llms.txt. This page is also available as Markdown.

update

Update a specific subnet network in your project. This command allows you to update a subnet by providing its unique identifier (subnet ID) and the new details you want to apply.

Usage

cldkctl flexi network subnet update [flags]

Aliases

update, update, upt

Steps

Follow the steps below to run and view the result of this command:

Interactive Mode

  1. Refer to the Flexi Network Subnet List section to obtain the subnet ID.

  2. Run the following command in your terminal:

cldkctl flexi network subnet update [subnet_id] -i
  1. Replace [subnet_id] with the actual subnet ID.

  2. The terminal displays the Update Subnet form. Modify the subnet configuration as needed.

  1. When prompted, confirm the update by selecting y, or cancel the process by selecting n.

  1. Once completed successfully, the terminal displays the success message.

Non-Interactive Mode

  1. Provide all required values using command flags.

  2. Add --auto-confirm or -y to skip confirmation prompts in non-interactive mode.

  3. Run the command in your terminal.

  4. Once completed successfully, the terminal displays the success message.

Flags

This command supports global flags. Refer to the Global Flags section for details

Flag
Shorthand
Default
Description

--auto-confirm

-y

false

Skip confirmation prompt in non-interactive mode

--dns-name-servers

DNS name servers

--enable-dhcp

Enable DHCP: enabled or disabled

-h, --help

-h

Help for the update command.

--host-routes

Host routes

--interactive

-i

false

Force interactive TUI mode

--subnet-id

Subnet ID (required in non-interactive mode)

Last updated