cea-hpc / pcocc

Run VMs on an HPC cluster
GNU General Public License v3.0
47 stars 14 forks source link

pcocc image export [KIND] #8

Closed patlucas closed 5 years ago

patlucas commented 6 years ago

pcocc-image man page reference a [KIND] option for the "pcocc image export" command with a single existing value, 'vm'. This option does'nt exist. (This option exists for the import command. The problem is only for the export command.)


$ pcocc image export -t qcow2 vm ganesha-ci:fedora28_ganesha-ci toto Usage: pcocc image export [OPTIONS] SOURCE DEST

Error: Got unexpected extra argument (toto) $ pcocc image export -t qcow2 ganesha-ci:fedora28_ganesha-ci toto $ $ pcocc image import -t qcow2 toto ganesha-ci:fedora28_ganesha-ci_bis Usage: pcocc image import [OPTIONS] KIND SOURCE DEST

Error: Missing argument "dest". $ pcocc image import -t qcow2 vm toto ganesha-ci:fedora28_ganesha-ci_bis Copying image... Storing image in repository 'ganesha-ci' as 'fedora28_ganesha-ci_bis' ... $