Rancher Ubuntu 18.04 node template
Install a clean Ubuntu 18.04
Remove
sudo rm -rf /var/lib/cloud/instances
To prevent duplicate DHCP addresses, run:
truncate -s 0 /etc/machine-id
sudo rm /var/lib/dbus/machine-id
Install cloud-init
sudo apt install cloud-init -y
Install open-iscsi
sudo apt install open-iscsi -y
Shut down the machine
Clone to Template
In Rancher, add new node template and select the new template
Rancher cloud-init should take care of the rest.
Last updated
Was this helpful?