cloudmesh / cloudmesh-cloud

Multicloud Cloudmesh Plugins for cloudmesh cmd5 CMD
https://cloudmesh.github.io/cloudmesh-manual
Apache License 2.0
2 stars 27 forks source link

vm script #289

Open laszewsk opened 4 years ago

laszewsk commented 4 years ago

vm script [--name=NAMES] [--username=USERNAME] [--key=KEY] [--dryrun] [--dir=DESTINATION] [--shell=SHELL] SCRIPT

               The script command copies a shell script to the specified vms
               into the DESTINATION directory and than execute it. With
               SHELL you can set the shell for executing the command,
               this coudl even be a python interpreter. Examples for
               SHELL are /bin/sh, /usr/bin/env python

            vm put SOURCE DESTINATION [NAMES]

                puts the file defined by SOURCE into the DESINATION folder
                on the specified machines. If the file exists it is
                overwritten, so be careful.

            vm get SOURCE DESTINATION [NAMES]

                gets  the file defined by SOURCE into the DESINATION folder
                on the specified machines. The SOURCE is on the remote
                machine. If one machine is specified, the SOURCE is the same
                name as on the remote machine. If multiple machines are
                specified, the name of the machine will be a prefix to the
                filename. If the filenames exists, they will be overwritten,
                so be careful.