fixed issue where script could break if output file wasnt created first.
This commit is contained in:
parent
4c1ff4af4c
commit
8b1d6031ad
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user