修改命令
ID(主键):
命令本身:
命令参数:
运行环境:
命令例子:
命令分类:
--请选择--
文件类
服务类
系统类
用户及权限类
openstack类
命令描述:
添加新的镜像位置,openstack平台会从已添加的位置中择优读取镜像。 [root@controller ~]#vi /etc/glance/glance-api.conf [DEFAULT] show_multiple_locations = True //取消注释并修改 [glance_store] stores = file,http,cinder //添加cinder [root@controller ~]#vi /etc/cinder/cinder.conf [DEFAULT] glance_api_version = 2 //添加 allowed_direct_url_schemes = cinder //添加 [lvm] image_upload_use_internal_tenant = True //取消注释并修改 systemctl restart openstack-glance-* openstack-cinder-* 通过上述操作开启此功能