fixed issue where script could break if output file wasnt created first.

This commit is contained in:
Omar Minaya 2025-05-26 13:19:12 -04:00
parent 4c1ff4af4c
commit 8b1d6031ad

View File

@ -20,6 +20,7 @@ cd /opt
tar -xf "kasm_release_${KASM_VERSION}.tar.gz"
chmod +x /opt/kasm_release/install.sh
printf 'y\ny\ny\n4\n' | bash /opt/kasm_release/install.sh
touch ~/kasm-install.output
sed -n '/Kasm UI Login Credentials/,$p' ~/kasm-install.output >~/kasm.creds
msg_ok "Installed Kasm Workspaces"