cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1712
Views
5
Helpful
1
Replies

CML using ubuntu server nodes

adolfo.cadillo
Level 1
Level 1

I am using the servers under the nodes in my topology.   My question is how do I get sudo access so I can change the IP address of the server?   Its kind of useless if I can't do this, thank you.

1 Reply 1

gaius
Level 1
Level 1

Just do sudo bash. But you are best of setting the IP addresses in the Edit Config tab, such as

 

#cloud-config
password: cisco
chpasswd: { expire: False }
hostname: myhost
ssh_pwauth: True
ssh_authorized_keys:
  - your-ssh-pubkey-line-goes-here
runcmd:
  - ip addr add dev ens2 local 192.168.1.17/24
  - ip route add to 0.0.0.0/0 dev ens2 via 192.168.1.1