Skip to content

Commit 8391842

Browse files
committed
Fix commercial-type usage
1 parent ece89f3 commit 8391842

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/create-image-from-http.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ echo "[+] Target name: ${NAME}"
3030

3131

3232
echo "[+] Creating new server in rescue mode with a secondary volume..."
33-
SERVER=$(SCW_TARGET_ARCH="$SCW_TARGET_ARCH" SCW_COMMERCIAL_TYPE="$SCW_COMMERCIAL_TYPE" scw run -d --env="AUTHORIZED_KEY=${KEY} boot=none INITRD_DROPBEAR=1" --name="image-writer-${NAME}" "${VOLUME_SIZE}")
33+
SERVER=$(SCW_TARGET_ARCH="$SCW_TARGET_ARCH" scw run --commercial-type="${SCW_COMMERCIAL_TYPE}" -d --env="AUTHORIZED_KEY=${KEY} boot=none INITRD_DROPBEAR=1" --name="image-writer-${NAME}" "${VOLUME_SIZE}")
3434
echo "[+] Server created: ${SERVER}"
3535

3636

0 commit comments

Comments
 (0)