File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -78,12 +78,27 @@ GLANCE_HOST=$1
7878GLANCE_PORT=$2
7979
8080CONFIG_FILE_TMP=$( mktemp $CONFIG_FILE .XXXXXX)
81- cat > $CONFIG_FILE_TMP << EOF
81+ if [ " $UPLOAD_LEGACY_TTY " ]; then
82+ cat > $CONFIG_FILE_TMP << EOF
83+ [environment]
84+ aki_location = $DEST /devstack/files/images/aki-tty/image
85+ ari_location = $DEST /devstack/files/images/ari-tty/image
86+ ami_location = $DEST /devstack/files/images/ami-tty/image
87+ image_ref = 1
88+ flavor_ref = 1
89+ EOF
90+ else
91+ cat > $CONFIG_FILE_TMP << EOF
8292[environment]
8393aki_location = $DEST /openstack-integration-tests/include/sample_vm/$DIST_NAME -server-cloudimg-amd64-vmlinuz-virtual
8494#ari_location = $DEST /openstack-integration-tests/include/sample_vm/$DIST_NAME -server-cloudimg-amd64-loader
8595ami_location = $DEST /openstack-integration-tests/include/sample_vm/$DIST_NAME -server-cloudimg-amd64.img
96+ image_ref = 1
97+ flavor_ref = 1
98+ EOF
99+ fi
86100
101+ cat >> $CONFIG_FILE_TMP << EOF
87102[glance]
88103host = $GLANCE_HOST
89104apiver = v1
You can’t perform that action at this time.
0 commit comments