NicUpdate
Updates information about a Ionoscloud NIC.
1
knife ionoscloud nic update (options)
Copied!

Available options:

Required options:

    datacenter_id
    server_id
    nic_id
    ionoscloud_username
    ionoscloud_password
1
datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
2
iD of the data center (required)
3
4
server_id: --server-id SERVER_ID, -S SERVER_ID
5
the ID of the server to which the NIC is assigned (required)
6
7
nic_id: --nic-id NIC_ID, -N NIC_ID
8
iD of the load balancer (required)
9
10
name: --name NAME, -n NAME
11
name of the NIC
12
13
ips: --ips IP[,IP,...], -i IP[,IP,...]
14
iPs assigned to the NIC
15
16
dhcp: --dhcp DHCP
17
set to false if you wish to disable DHCP
18
19
lan: --lan ID, -l ID
20
the LAN ID the NIC will reside on; if the LAN ID does not exist it will be created
21
22
nat: --nat NAT
23
set to enable NAT on the NIC
24
25
ionoscloud_username: --username USERNAME, -u USERNAME
26
your Ionoscloud username (required)
27
28
ionoscloud_password: --password PASSWORD, -p PASSWORD
29
your Ionoscloud password (required)
30
31
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
32
path to the additional config file
Copied!

Example

1
knife ionoscloud nic update --datacenter-id DATACENTER_ID --server-id SERVER_ID --nic-id NIC_ID --name NAME --ips IP[,IP,...] --dhcp DHCP --lan ID --nat NAT --username USERNAME --password PASSWORD --extra-config EXTRA_CONFIG_FILE_PATH
Copied!
Last modified 30d ago