rhevm-iso-uploader
. You must be logged in as the root
user to run it successfully. You must provide the administration credentials for the Red Hat Enterprise Virtualization environment on the command line. Full usage information, including a list of all valid options for the command, is available by running the rhevm-iso-uploader -h
command.
Usage:rhevm-iso-uploader
[options]
list
rhevm-iso-uploader
[options]
upload
[file].[file]...[file]
list
, and upload
.
list
parameter lists the available ISO storage domains. These storage domains are the valid targets for ISO uploads. By default the list is obtained from the Red Hat Enterprise Virtualization Manager installation on the local machine.
upload
parameter uploads the selected ISO file(s) to the specified ISO storage domain. By default the transfer is performed using NFS however SSH is also available.
list
or upload
parameter is provided. Where upload
is selected then the name of at least one local file to upload must also be provided.
rhevm-iso-uploader
command has a large number of options.
--version
-h
, --help
--quiet
--log-file=PATH
PATH
as the log file the command should use for its own log output.
--conf-file=PATH
PATH
as the configuration file the command should use.
-v
, --verbose
-f
, --force
-u USER
, --user=USER
USER
. This must be a user that exists in directory services, and is known to the Red Hat Enterprise Virtualization Manager. The user must be specified in the format user
@domain
, where user
replaced by the username, and domain
is replaced by the directory services domain in use.
-r FQDN
, --rhevm=FQDN
FQDN
. FQDN
must be replaced by the fully qualified domain name of the manager. By default it is assumed that the ISO uploader is being run on the same machine as the manager. Therefore the default value for this parameter is localhost
.
-i
, --iso-domain=ISODOMAIN
ISODOMAIN
as the destination for uploads.
-n
, --nfs-server=NFSSERVER
NFSSERVER
as the destination for uploads. This option is an alternative to --iso-domain
, the two must not be used at the same time.
# rhevm-iso-uploader --nfs-server=storage.demo.redhat.com:/iso/path
upload RHEL6.0.iso
--ssh-user=USER
USER
as the SSH username to use for the upload.
--ssh-port=PORT
PORT
as the port to use when connecting to SSH.
-k KEYFILE
, --key-file=KEYFILE
KEYFILE
as the public key to use for SSH authentication. If no key is set the program will prompt you to enter the password of the user specified instead.