Jump to content

palaueb

Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

palaueb's Achievements

Noob

Noob (1/14)

1

Reputation

  1. Please, open the file clone_vm.sh and ensure that the file is exactly as shown on this URL: https://raw.githubusercontent.com/palaueb/unraid-vm-clone/main/clone_vm.sh Another thing that you can do is to hash the file and compare with the hash that I give you: root@Tower:/tmp# wget https://raw.githubusercontent.com/palaueb/unraid-vm-clone/main/clone_vm.sh 2024-02-07 12:15:00 (47.2 MB/s) - ‘clone_vm.sh’ saved [4540/4540] root@Tower:/tmp# shasum clone_vm.sh 316c033d2a54facb77babcdaae18c67a12000ca2 clone_vm.sh shasum 316c033d2a54facb77babcdaae18c67a12000ca2 sha256sum: b0cba826d0045c1990c675cd741fc6e04d75844e7407757ba346f6771e25939e It seems that your file has some json inside. *: I have upgraded the wget URL to the RAW file.
  2. Awesome @piyper! Why not you make a pull request to add everything on the script at the repository? https://github.com/palaueb/unraid-vm-clone I will happily accept the changes into the file (of course add your own credit on top). Have a nice day.
  3. The same happens to me, every time I need to reboot the system it breaks and need to regenerate the USB stick. So annoying. I upload here a picture of the log (IPMI not working properly). Of course nothing has changed, the pen has UNRAID label and the data is as is.let
  4. I have coded this small bash script that let you clone your VMs. Currently is tested for Ubuntu/Debian. https://github.com/palaueb/unraid-vm-clone/blob/main/clone_vm.sh How to use Connect to terminal. Download file wget https://raw.githubusercontent.com/palaueb/unraid-vm-clone/main/clone_vm.sh Check the file signature $shasum clone_vm.sh 2193dcd662ac362c1cd49054ceed440f43a4fc69 clone_vm.sh Change file permisions chmod +x clone_vm.sh Stop VM that you want to clone, then execute script root@Tower:~# ./clone_vm.sh Enter the name of the virtual machine to be cloned: Listing Virtual Machines with their states: k8s-node-master - shut off Enter the name of the VM you want to select: k8s-node-master You have selected the VM: k8s-node-master Enter the new name for the cloned virtual machine: k8s-node-cloned Please choose the cloning method for the VM volume: 1. Full copy (independent clone) 2. Linked clone (using a backing file) 3. Help (explain options) Enter your choice (1, 2, or 3): 1 You have chosen a full copy. This option will create an independent clone of the VM volume, which is a complete and standalone copy. [k8s-node-master] to be cloned as [k8s-node-cloned] sending incremental file list vdisk1.img 7.99G 100% 185.48MB/s 0:00:41 (xfr#1, to-chk=0/1) Cloning NVRAM from /etc/libvirt/qemu/nvram/wwwwwwww-xxxx-yyyy-zzzz-d7a89d8a5218_VARS-pure-efi.fd to /var/lib/libvirt/qemu/nvram/k8s-node-cloned_VARS.fd Domain 'k8s-node-cloned' defined from /tmp/tmp.ysKuBvXUae Domain 'k8s-node-cloned' started Now you have a duplicate, enter to the duplicated server and update hostname and network configuration if needed. # for example on systemD hostnamectl set-hostname my-cloned-server The MAC address is regenerated, the UUID is regenerated. I hope it is useful and helpful to you Please give feedback.
×
×
  • Create New...