Skip to content

Commit

Permalink
Update run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
wenhuizhang authored Mar 12, 2024
1 parent 4077018 commit 45836a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/cvm-image-rewriter/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
# Common Definitions
TOP_DIR=$(dirname "$(readlink -f "$0")")
SCRIPTS_DIR="${TOP_DIR}/scripts"
TARGET_FILES_DIR="$(mktemp -d /tmp/cvm_target_files.XXXXXX)"
TARGET_FILES_DIR="$(mktemp -d /tmp/cvm_target_files)"
INPUT_IMG=""
OUTPUT_IMG="output.qcow2"
TIMEOUT=6
Expand Down Expand Up @@ -280,7 +280,7 @@ do_cloud_init() {
--connect ${CONNECT_URI} \
--disk /tmp/ciiso.iso,device=cdrom \
--os-type Linux \
--os-variant ubuntu18.10 \
--os-variant ubuntu22.04 \
--graphics none \
--import \
--wait=$TIMEOUT \
Expand Down

0 comments on commit 45836a1

Please sign in to comment.