I am trying to figure out how to script some vmadm commands in a bash script. For a basic scenario, the bash script calls vmadm to create a VM and that works fine. However, I am trying to capture the UUID of the newly created VM. I receive the following message on the screen: "Successfully created VM 0999429a-6b52-edfd-f0b7-997ca26df1fc"
Can someone provide an example of how bash can call "vmadm create -f" and record the UUID if the VM is successfully created? Thank you.George ------------------------------------------- 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
