Ubuntu Renaming a Cloned Virtual Machine

From DFWLPiki
Revision as of 13:46, 13 June 2021 by Jhorne (talk | contribs) (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")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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