On 03/24/2014 05:40 PM, Sven Kieske wrote:
thanks for pointing me in the right direction!
Bonusquestion: Is it possible to use shell variables
or to pipe them somehow for script usage?
What I found in the wiki seems not to work ( ${VAR} )?
It isn't possible to use shell variables from within ovirt-shell
propmpt, but you can pass a command to it:
# VAR=myvm
# ovirt-shell --execute-command "show vm ${VAR}"
Or you can use here documents:
# VAR=myvm
# ovirt-shell <<.
show vm ${VAR}
.
--
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.