Hello,


I'm trying to script stopping all vms at once but when I'm using example 
given in documentation, it won't work. The problem is when I read the 
command containing pipe from file. When the same command is pasted into 
stdin, everything works fine.





[root@ovirt-administration ~]# ovirt-shell -c




 ==========================================

 >>> connected to oVirt manager 3.2.0.0 <<<

 ==========================================







 ++++++++++++++++++++++++++++++++++++++++++





           Welcome to oVirt shell




 ++++++++++++++++++++++++++++++++++++++++++






[oVirt shell (connected)]# list vms | grep test3

name       : test3






oVirt shell (connected)]# exit


[root@ovirt-administration ~]#









But when I read from file:







[root@ovirt-administration ~]# ovirt-shell -c -f /root/listall.txt






 ==========================================

 >>> connected to oVirt manager 3.2.0.0 <<<

 ==========================================




[oVirt shell (connected)]# list vms | grep lindev







id         : cd27d9fd-611e-4a3d-8eba-ae6e50c038dc


name       : test2




id         : 77cb6321-e21f-4bfb-aae6-ee178dbd9b8a

name       : test3




id         : eba23051-8285-4a46-936d-25bd37c6cf8f

name       : test4




[oVirt shell (connected)]# exit





[root@ovirt-administration ~]#





This looks like a bug in ovirt-shell. Any thought?




Best regards

Evgeny



_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to