vestigial sleeps
This commit is contained in:
1 parent
b8873ddb7b
commit
92960f4413
1 file changed
+2
-2
+2
-2
@@ -125,7 +125,7 @@ if [[ "$SCRIPT_ACTION" == "c" && -n "$LINODE_LABEL" ]]; then
|
|||||||
|
|
||||||
# Give the volume a moment to appear on the instance before the StackScript
|
# Give the volume a moment to appear on the instance before the StackScript
|
||||||
# (which runs on first boot) mounts it.
|
# (which runs on first boot) mounts it.
|
||||||
sleep 15
|
sleep 2
|
||||||
|
|
||||||
echo "$(date -Iminutes) --- Id:$INSTANCE_ID --- IP:$INSTANCE_IP Summoned $LINODE_LABEL with volume $VOLUME_ID." >>$LOGFILE
|
echo "$(date -Iminutes) --- Id:$INSTANCE_ID --- IP:$INSTANCE_IP Summoned $LINODE_LABEL with volume $VOLUME_ID." >>$LOGFILE
|
||||||
echo "Started with root pass $ROOT_PASS"
|
echo "Started with root pass $ROOT_PASS"
|
||||||
@@ -202,7 +202,7 @@ if [[ "$SCRIPT_ACTION" == "a" || "$UPDATE_A_RECORD" == "true" ]]; then
|
|||||||
#echo "Previous value:"
|
#echo "Previous value:"
|
||||||
#echo "$DOMAIN_RECORDS" | jq '.data[] | select(.type == "A")'
|
#echo "$DOMAIN_RECORDS" | jq '.data[] | select(.type == "A")'
|
||||||
|
|
||||||
sleep 3
|
#sleep 3
|
||||||
|
|
||||||
# Update the A record that already exists for this subdomain rather than
|
# Update the A record that already exists for this subdomain rather than
|
||||||
# adding another one; a record is only created when there is nothing to
|
# adding another one; a record is only created when there is nothing to
|
||||||
|
|||||||
Reference in new issue
Block a user