13. CISCO CML Ubuntu 20.04 IP address Change manually

Опубликовано: 02 Октябрь 2024
на канале: Donghowa Network
1,602
13

1. connect ubuntu to external connection and get "sudo apt install net-tools"
- 'WIPE NODE' will delete all.

2. Manually change conf file "/etc/netplan/50-cloud-init.yaml"
sudo vi 50-cloud-init.yaml
dhcp4: true
addresses:
- 10.10.50.12/24
gateway4: 10.10.50.1
sudo netplan apply

This file is generated from information provided by the datasource. Changes
to it will not persist across an instance reboot. To disable cloud-init's
network configuration capabilities, write a file
/etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
network: {config: disabled}


3. Cloud init
This option will be next time