Skip to content

Commit e7ccea1

Browse files
committed
Fix append bug on create.sh
1 parent 96426b2 commit e7ccea1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deploy/aws-hypervisor/scripts/create.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ echo "$STACK_NAME" > "${SCRIPT_DIR}/../${SHARED_DIR}/rhel_host_stack_name"
373373
INSTANCE_ID="$(aws --region "${REGION}" cloudformation describe-stacks --stack-name "${STACK_NAME}" \
374374
--query 'Stacks[].Outputs[?OutputKey == `InstanceId`].OutputValue' --output text)"
375375
echo "Instance ${INSTANCE_ID}"
376-
echo "${INSTANCE_ID}" >> "${SCRIPT_DIR}/../${SHARED_DIR}/aws-instance-id"
376+
echo "${INSTANCE_ID}" > "${SCRIPT_DIR}/../${SHARED_DIR}/aws-instance-id"
377377
# shellcheck disable=SC2016
378378
HOST_PUBLIC_IP="$(aws --region "${REGION}" cloudformation describe-stacks --stack-name "${STACK_NAME}" \
379379
--query 'Stacks[].Outputs[?OutputKey == `PublicIp`].OutputValue' --output text)"

0 commit comments

Comments
 (0)