File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -93,13 +93,17 @@ linode-cli linodes create --region us-east --type g6-nanode-1 --tags tag1 --tags
9393```
9494
9595Lists consisting of nested structures can also be expressed through the command line.
96+ Duplicated attribute will signal a different object.
9697For example, to create a Linode with a public interface on ` eth0 ` and a VLAN interface
9798on ` eth1 ` you can execute the following::
9899``` bash
99100linode-cli linodes create \
100101 --region us-east --type g6-nanode-1 --image linode/ubuntu22.04 \
101102 --root_pass " myr00tp4ss123" \
103+ # The first interface (index 0) is defined with the public purpose
102104 --interfaces.purpose public \
105+ # The second interface (index 1) is defined with the vlan purpose.
106+ # The duplicate `interfaces.purpose` here tells the CLI to start building a new interface object.
103107 --interfaces.purpose vlan --interfaces.label my-vlan
104108```
105109
You can’t perform that action at this time.
0 commit comments