<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>&nbsp;==========================================</div><div>&nbsp;&gt;&gt;&gt; connected to oVirt manager 3.2.0.0 &lt;&lt;&lt;</div><div>&nbsp;==========================================</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;">&nbsp;++++++++++++++++++++++++++++++++++++++++++</span><br></div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Welcome to oVirt shell</div><div><br></div><div>&nbsp;++++++++++++++++++++++++++++++++++++++++++</div></div><div><br></div><div><div>[oVirt shell (connected)]# list vms | grep test3</div><div>name &nbsp; &nbsp; &nbsp; : 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>&nbsp;==========================================</div><div>&nbsp;&gt;&gt;&gt; connected to oVirt manager 3.2.0.0 &lt;&lt;&lt;</div><div>&nbsp;==========================================</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 &nbsp; &nbsp; &nbsp; &nbsp; : cd27d9fd-611e-4a3d-8eba-ae6e50c038dc</span><br></div><div>name &nbsp; &nbsp; &nbsp; : test2</div><div><br></div><div>id &nbsp; &nbsp; &nbsp; &nbsp; : 77cb6321-e21f-4bfb-aae6-ee178dbd9b8a</div><div>name &nbsp; &nbsp; &nbsp; : test3</div><div><br></div><div>id &nbsp; &nbsp; &nbsp; &nbsp; : eba23051-8285-4a46-936d-25bd37c6cf8f</div><div>name &nbsp; &nbsp; &nbsp; : 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>