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:
Huan Xie 2016-03-24 01:53:48 -07:00
parent 644d88263a
commit 192fe804fa
2 changed files with 3 additions and 3 deletions

View File

@ -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]',

View File

@ -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