trying to run:
zvsh --zvm-image export.tar,/,wo somenexe
output describes error of opening file in write only mode which expected to be created and not supposed to be exist:
Traceback (most recent call last):
File "/home/zvm/git/zerovm-cli/zvsh", line 8, in <module>
shell.run()
File "/home/zvm/git/zerovm-cli/zvshlib/zvsh.py", line 1049, in run
self._run_zvsh()
File "/home/zvm/git/zerovm-cli/zvshlib/zvsh.py", line 1053, in _run_zvsh
manifest_file = self.zvsh.add_arguments(self.args)
File "/home/zvm/git/zerovm-cli/zvshlib/zvsh.py", line 864, in add_arguments
self.add_image_args(args.zvm_image)
File "/home/zvm/git/zerovm-cli/zvshlib/zvsh.py", line 785, in add_image_args
tar = tarfile.open(name=imgpath)
File "/usr/lib/python2.7/tarfile.py", line 1665, in open
raise ReadError("file could not be opened successfully")
tarfile.ReadError: file could not be opened successfully
trying to run: zvsh --zvm-image export.tar,/,wo somenexe
output describes error of opening file in write only mode which expected to be created and not supposed to be exist: