<html><body>Hello,<div><br></div><div>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.</div><div><br></div><div><div>[root@ovirt-administration ~]# ovirt-shell -c</div><div><br></div><div> ==========================================</div><div> >>> connected to oVirt manager 3.2.0.0 <<<</div><div> ==========================================</div><div><span style="font-size: 15px; line-height: 1.3;"><br></span></div><div><span style="font-size: 15px; line-height: 1.3;"><br></span></div><div><span style="font-size: 15px; line-height: 1.3;"> ++++++++++++++++++++++++++++++++++++++++++</span><br></div><div><br></div><div> Welcome to oVirt shell</div><div><br></div><div> ++++++++++++++++++++++++++++++++++++++++++</div></div><div><br></div><div><div>[oVirt shell (connected)]# list vms | grep test3</div><div>name : test3</div></div><div><br></div><div><div><span style="font-size: 15px; line-height: 1.3;">oVirt shell (connected)]# exit</span><br></div><div><span style="font-size: 15px; line-height: 1.3;">[root@ovirt-administration ~]#</span><br></div></div><div><br></div><div><br></div><div>But when I read from file:</div><div><br></div><div><br></div><div><span style="font-size: 15px; line-height: 1.3;">[root@ovirt-administration ~]# ovirt-shell -c -f /root/listall.txt</span><br></div><div><div><br></div><div> ==========================================</div><div> >>> connected to oVirt manager 3.2.0.0 <<<</div><div> ==========================================</div><div><br></div><div>[oVirt shell (connected)]# list vms | grep lindev</div><div><br></div><div><br></div><div><span style="font-size: 15px; line-height: 1.3;">id : cd27d9fd-611e-4a3d-8eba-ae6e50c038dc</span><br></div><div>name : test2</div><div><br></div><div>id : 77cb6321-e21f-4bfb-aae6-ee178dbd9b8a</div><div>name : test3</div><div><br></div><div>id : eba23051-8285-4a46-936d-25bd37c6cf8f</div><div>name : test4</div><div><br></div><div><span style="font-size: 15px; line-height: 1.3;">[oVirt shell (connected)]# exit</span><br></div><div><br></div><div>[root@ovirt-administration ~]#</div></div><div><br></div><div>This looks like a bug in ovirt-shell. Any thought?</div><div><br></div><div>Best regards</div><div>Evgeny</div><div><br></div></body></html>