十年网站开发经验 + 多家企业客户 + 靠谱的建站团队
量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决
[root@rhevm ~]# wget -O rhevm.cer http://rhevm.example.com/ca.crt[root@rhevm ~]# rhevm-shell -c -l https://rhevm.example.com/api -u admin@internal-p password -A /root/rhevm.cer
or:
[root@rhevm~]# rhevm-shell -c -l https://rhevm.example.com/api -u admin@internal-p password -A /etc/pki/ovirt-engine/ca.pem
如下Beta版本没有问题:
rhel-x86_64-server-6-rhevm-3-beta/rhevm-cli-3.1.0.15-1.el6ev.noarch.rpm
Beta版本帮助文档:
[root@rhevm ~]# rhevm-shell -h
Usage: rhevm-shell [options]
rhevm-shell [options] command...
This program is a command-line interface to RHEVM Virtualization.
Options:
-h, --help show this help message and exit
-d, --debug enable debugging
-l URL, --url=URL specifies the API entry point URL
(http[s]://server[:port]/api) -u USERNAME, --username=USERNAME
connect as this user
-p PASSWORD, --password=PASSWORD
specify password
-K KEY_FILE, --key-file=KEY_FILE
specify client PEM key-file -C CERT_FILE, --cert-file=CERT_FILE
specify client PEM cert-file -A CA_FILE, --ca-file=CA_FILE
specify server CA cert-file -I, --insecure allow connecting to SSL sites without certificates
-F, --filter enables user permission based filtering
-P PORT, --port=PORT specify port
-T TIMEOUT, --timeout=TIMEOUT
specify timeout
-c, --connect automatically connect
-f FILE, --file=FILE read commands from FILE instead of stdin