- Spin up a new vm with the same size and shape of the "original" one. That'll have a new uuid, obviously. Call that the "sacrificial" vm. - Shut that new vm down with vmadm. - zfs list and find the names of the new sacrificial vm's disks (zvols). Note those names. - zfs destroy those zvols. - zfs rename your "original" zvols to match the new uuid. - now you have a new vm with a new uuid, with the storage cloned from the original.
On Tue, Dec 12, 2017 at 1:42 PM, John Barfield <[email protected]> wrote: > Is it a possible to change a VM’s UUID? > > > > I sent a VM to a different host, now I’ve updated the MAC/IP addresses on > the source VM’s NICS and want to start it back up with a new UUID without > restarting the other one. > > > > I tried: > > > > `echo ‘{ “uuid”: “<NEW_UUID>” } | vmadm update <OLD_UUID>` > > > > But it didn’t work. > > > > > > *John Barfield* > > *Engineering and Stuff * > > > > M: +1 (214) 425-0783 <(214)%20425-0783> O: +1 (214) 506-8354 > <(214)%20506-8354> > > [email protected] > > > > 4925 Greenville Ave, Ste 900 > <https://maps.google.com/?q=4925+Greenville+Ave,+Ste+900+Dallas,+TX+75206&entry=gmail&source=g> > > Dallas, TX 75206 > <https://maps.google.com/?q=4925+Greenville+Ave,+Ste+900+Dallas,+TX+75206&entry=gmail&source=g> > > > > *For Support Requests:* > > http://support.bissinc.com or [email protected] > > > > Follow us on Twitter for Network Status & Updates! > > > > <https://twitter.com/johnbarfield> > > *smartos-discuss* | Archives > <https://www.listbox.com/member/archive/184463/=now> > <https://www.listbox.com/member/archive/rss/184463/21482896-b87d2f10> | > Modify > <https://www.listbox.com/member/?&> > Your Subscription <http://www.listbox.com> > ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
