Skip to content

Commit b1838e6

Browse files
increasing swap size in katacoda tutorials
1 parent 39d94d6 commit b1838e6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

runners/katacoda/templates/scripts/intro_background.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,13 @@ while [ "$i" -le $STEPS ]; do
2323
i=$(( i + 1 ))
2424
done
2525

26-
#write 'Finished' in status file
27-
#the setup script checks the status file for this string
28-
2926
#increase swap size by 4 GB by adding a new swap file
3027
mkdir /root/dev
3128
fallocate -l 4G /root/dev/md-0
3229
chmod 600 /root/dev/md-0
3330
mkswap /root/dev/md-0
3431
swapon /root/dev/md-0
3532

33+
#write 'Finished' in status file
34+
#the setup script checks the status file for this string
3635
echo "Finished" > $STATUS_FILE

0 commit comments

Comments
 (0)