Hi,
I would be interested in feedback here too. I think this boils down to the question what does sm-prepareimage actually do. Is there a summary or checklist anywhere or do we have to look at the code ? Any help would be appreciated Cheers Matthias From: Adrian Ortmann via smartos-discuss Sent: Tuesday, June 24, 2014 5:43 PM To: [email protected] Hi, my goal is to create a clone of a running machine. In the moment I do it like this: 1. Uuid 2. vmadm create-snapshot <uuid of the machine you want to clone> <snapshotname> 3. zfs list -t snapshot | grep <uuid of the machine I want to clone>@vmsnap 4. zfs clone <full path to my snapshot> zones/<uuid I generated in the first step> 5. vmadm create -f new-machine.json 6. vmadm stop <uuid of the NEW machine> 7. zfs destroy -r -f zones/<uuid of the NEW machine> 8. zfs rename zones/<uuid I generated in the first step> zones/<uuid of the new machine I destroyed in step 8> 9. vmadm start <uuid of the new machine> The new machine is working but I just see that the hostname after I’m logged in (zlogin <new machine>) is the hostname of the old machine. Is there anything else to changed like old uuid’s or something else? Nice greetings aortmann smartos-discuss | Archives | Modify Your Subscription ------------------------------------------- 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
