File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
container-images/tcib/base/os/tempest Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ function upload_extra_images {
228228 image_create_params=()
229229
230230 [[ ! -f " ${TEMPEST_EXTRA_IMAGES_NAME[image_index]} " ]] && \
231- sudo curl -o " ${TEMPEST_EXTRA_IMAGES_NAME[image_index]} " " ${TEMPEST_EXTRA_IMAGES_URL[image_index]} "
231+ curl -o " ${HOMEDIR} / ${TEMPEST_EXTRA_IMAGES_NAME[image_index]} " " ${TEMPEST_EXTRA_IMAGES_URL[image_index]} "
232232
233233 [[ ${TEMPEST_EXTRA_IMAGES_DISK_FORMAT[image_index]} != " -" ]] && \
234234 image_create_params+=(--disk-format ${TEMPEST_EXTRA_IMAGES_DISK_FORMAT[image_index]} )
@@ -240,7 +240,7 @@ function upload_extra_images {
240240 image_create_params+=(--id ${TEMPEST_EXTRA_IMAGES_ID[image_index]} )
241241
242242 [[ ${TEMPEST_EXTRA_IMAGES_NAME[image_index]} != " -" ]] && \
243- image_create_params+=(--file ${ TEMPEST_EXTRA_IMAGES_NAME[image_index]} )
243+ image_create_params+=(--file " ${HOMEDIR} / ${ TEMPEST_EXTRA_IMAGES_NAME[image_index]}" )
244244
245245 [[ ${TEMPEST_EXTRA_IMAGES_CONTAINER_FORMAT[image_index]} != " -" ]] && \
246246 image_create_params+=(--container-format ${TEMPEST_EXTRA_IMAGES_CONTAINER_FORMAT[image_index]} )
406406if [ -f ${HOMEDIR} /id_ecdsa ]; then
407407 mkdir -p ${HOMEDIR} /.ssh
408408 cp ${HOMEDIR} /id_ecdsa ${HOMEDIR} /.ssh/id_ecdsa
409- sudo chmod 700 ${HOMEDIR} /.ssh
410- sudo chmod 600 ${HOMEDIR} /.ssh/id_ecdsa
411- sudo chown -R tempest:tempest ${HOMEDIR} /.ssh
409+ chmod 700 ${HOMEDIR} /.ssh
410+ chmod 600 ${HOMEDIR} /.ssh/id_ecdsa
411+ chown -R tempest:tempest ${HOMEDIR} /.ssh
412412fi
413413
414414if [ -z $TEMPEST_EXTERNAL_PLUGIN_GIT_URL ]; then
You can’t perform that action at this time.
0 commit comments