MOS8.0 Make changes to let it work with liberty
1. change glance image-create command's param 2. fix file injection problem Change-Id: Ibdda7c626605f85a0d0e7452452e82d6e07f9641
This commit is contained in:
parent
644d88263a
commit
192fe804fa
|
@ -181,7 +181,7 @@ def create_novacompute_conf(himn, username, password, public_ip):
|
|||
template = '\n'.join([
|
||||
'[DEFAULT]',
|
||||
'compute_driver=xenapi.XenAPIDriver',
|
||||
'force_config_drive=always',
|
||||
'force_config_drive=True',
|
||||
'novncproxy_base_url=https://%s:6080/vnc_auto.html',
|
||||
'vncserver_proxyclient_address=%s',
|
||||
'[xenserver]',
|
||||
|
|
|
@ -31,7 +31,7 @@ function create_image {
|
|||
--container-format ovf \
|
||||
--disk-format vhd \
|
||||
--property vm_mode="$vm_mode" \
|
||||
--is-public True \
|
||||
--visibility public \
|
||||
--file "$image_file" \
|
||||
&>> $LOG_FILE
|
||||
|
||||
|
@ -64,4 +64,4 @@ create_image "TestVM" "xen" "http://ca.downloads.xensource.com/OpenStack/cirros-
|
|||
create_image "F17-x86_64-cfntools" "hvm" "http://ca.downloads.xensource.com/OpenStack/F21-x86_64-cfntools.tgz"
|
||||
glance image-list >> $LOG_FILE
|
||||
|
||||
mod_novnc
|
||||
mod_novnc
|
||||
|
|
Loading…
Reference in New Issue