Clone a melange VM: Difference between revisions
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
* reboot the VM | * reboot the VM | ||
* verify IP and ssh | * verify IP and ssh | ||
* migrate ~/config | * migrate ~/config | ||
Config will be pointing to the config of the old box. | |||
* reate a new development/config/ubuntu/mahhost | |||
* point ~/config to that | |||
* run setup_stow.sh |
Revision as of 15:38, 21 March 2023
You can select any VM and clone it in VM.
For simpler VMs:
- provide a hostname and ID for the new VM during clone, and hit OK
- wait for proxmox to clone it (how do you monitor this, not sure yet...)
- start it and open a console
- the hostname will be old, fix it
sudo hostname mahhost sudo emacs -nw /etc/hostname
- get the MAC address
ip a
- add an entry to dnsmasq and restart the service
🌵 m@bitpost [~/config/etc/dnsmasq.d] emacs -nw /etc/dnsmasq.d/mdm_lan_dnsmasq.conf
- reboot the VM
- verify IP and ssh
- migrate ~/config
Config will be pointing to the config of the old box.
- reate a new development/config/ubuntu/mahhost
- point ~/config to that
- run setup_stow.sh