[smartos-discuss] Scripting question Bash

2018-02-02 Thread George Linn via smartos-discuss
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 crea

Re: [smartos-discuss] Scripting question Bash

2018-02-02 Thread George Linn via smartos-discuss
o generate a valid UUID inside your shell script. On Fri, Feb 2, 2018 at 10:46 AM, Jonathan Perkin wrote: > * On 2018-02-02 at 18:24 GMT, George Linn via smartos-discuss wrote: > >> I  am trying to figure out how to script some vmadm commands in a bash >> script. For a basic sce

Re: [smartos-discuss] Scripting question Bash

2018-02-02 Thread George Linn via smartos-discuss
athan Perkin wrote: * On 2018-02-02 at 18:24 GMT, George Linn via smartos-discuss wrote: > 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