First, I care more about the exit code working.
I want just the value. So currently I have
cloudmonkey set color false
cloudmonkey createVM ... | grep ^id | awk -F' = ' '{print $2}'
Darren
> On Oct 27, 2013, at 9:48 PM, Prasanna Santhanam wrote:
>
>> On Sun, Oct 27, 2013 at 04:49:35PM -0700
On Oct 27, 2013, at 7:49 PM, Darren Shepherd
wrote:
> It would be really nice if the API failed if cloudmonkey exited with
> !=0 exit code. I've been scripting some stuff with cloud monkey and
> this makes it difficult. It would also be nice to somehow specific
> which field you want printed.
On Sun, Oct 27, 2013 at 04:49:35PM -0700, Darren Shepherd wrote:
> It would be really nice if the API failed if cloudmonkey exited with
> !=0 exit code. I've been scripting some stuff with cloud monkey and
> this makes it difficult. It would also be nice to somehow specific
> which field you want
It would be really nice if the API failed if cloudmonkey exited with
!=0 exit code. I've been scripting some stuff with cloud monkey and
this makes it difficult. It would also be nice to somehow specific
which field you want printed. So when I do a create command I can say
just echo id value onl