openstack 破密
[root@openstack ~]# vim /etc/httpd/conf.d/15-horizon_vhost.conf
[root@openstack ~]# tail -4 /etc/httpd/conf.d/15-horizon_vhost.conf | head -2
WSGIProcessGroup apache
WSGIApplicationGroup %{GLOBAL} //添加这行
真机浏览器 : 192.168.1.10 //登录openstack页面成功
编写openstack破密脚本
[root@openstack ~]# vim token
export OS_TOKEN=44408c6342474313994b983c1e939b8b //来自[root@openstack ~]# vim /etc/keystone/keystone.conf admin token
export OS_URL=http://127.0.0.1:35357/v2.0
export OS_INDETITY_API_VERSION=2
[root@openstack ~]# source token
[root@openstack ~]# source keystonerc_admin
[root@openstack ~(keystone_admin)]# openstack user set --h
optional arguments:
-h, --help show this help message and exit
–name Set user name
–project Set default project (name or ID)
–password
Set user pass