Skip to content

Commit

Permalink
fix: pass disk image flags to e2e-qemu cluster create command
Browse files Browse the repository at this point in the history
Forgot to add it in the original PR.

Signed-off-by: Artem Chernyshev <artem.0xD2@gmail.com>
  • Loading branch information
Unix4ever authored and talos-bot committed Dec 23, 2020
1 parent 5e3b8ee commit 73c81c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hack/test/e2e-qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ case "${USE_DISK_IMAGE:-false}" in
DISK_IMAGE_FLAG=
;;
*)
tar -xf _out/metal-amd64.tar.gz -C _out/ --strip-components=1
tar -xf _out/metal-amd64.tar.gz -C _out/
DISK_IMAGE_FLAG="--disk-image-path=_out/disk.raw --with-apply-config"
;;
esac
Expand All @@ -62,6 +62,7 @@ function create_cluster {
--with-init-node=false \
--cni-bundle-url ${ARTIFACTS}/talosctl-cni-bundle-'${ARCH}'.tar.gz \
--crashdump \
${DISK_IMAGE_FLAG} \
${REGISTRY_MIRROR_FLAGS} \
${QEMU_FLAGS} \
${CUSTOM_CNI_FLAG}
Expand Down

0 comments on commit 73c81c5

Please sign in to comment.