Ubuntu Renaming a Cloned Virtual Machine: Difference between revisions

From DFWLPiki
Jump to navigation Jump to search
(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")
 
No edit summary
Line 1: Line 1:
Commands to rename/re-id a cloned ubuntu virtual machine:
Commands to rename/re-id a cloned ubuntu virtual machine: (replace "newhostname" with the proper new system hostname)


  sudo su -
  sudo su -

Revision as of 13:47, 13 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