[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
售后响应及时
7×24小时客服热线数据备份
更安全、更高效、更稳定价格公道精准
项目经理精准报价不弄虚作假合作无风险
重合同讲信誉,无效全额退款