Merge "MOS8.0 Make changes to let it work with liberty 1. change glance image-create command's param 2. fix file injection problem"

This commit is contained in:
Jenkins 2016-03-24 14:36:18 +00:00 committed by Gerrit Code Review
commit eab4cbd1e1
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