Difference between revisions of "Ubuntu Renaming a Cloned Virtual Machine"
From DFWLPiki
(Created page with "Commands to rename/re-id a cloned ubuntu virtual machine: sudo su - rm /etc/machine-id systemd-machine-id-setup echo newhostname > /etc/hostname reboot") |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | Commands to rename/re-id a cloned ubuntu virtual machine: | + | [[Category:Linux]] |
| + | Commands to rename/re-id a cloned ubuntu virtual machine: (replace "newhostname" with the proper new system hostname) | ||
sudo su - | sudo su - | ||
Latest revision as of 12:46, 14 June 2021
Commands to rename/re-id a cloned ubuntu virtual machine: (replace "newhostname" with the proper new system hostname)
sudo su - rm /etc/machine-id systemd-machine-id-setup echo newhostname > /etc/hostname reboot