Update kasm.sh
This commit is contained in:
parent
ff318911e6
commit
1216d2f27c
@ -36,6 +36,7 @@ function update_script() {
|
|||||||
temp_file=$(mktemp)
|
temp_file=$(mktemp)
|
||||||
curl -fsSL "https://kasm-static-content.s3.amazonaws.com/kasm_release_${RELEASE}.tar.gz" -o "$temp_file"
|
curl -fsSL "https://kasm-static-content.s3.amazonaws.com/kasm_release_${RELEASE}.tar.gz" -o "$temp_file"
|
||||||
tar zxf "$temp_file"
|
tar zxf "$temp_file"
|
||||||
|
mkdir -p /opt/kasm/backups/
|
||||||
chmod 777 /opt/kasm/backups/
|
chmod 777 /opt/kasm/backups/
|
||||||
mv /opt/kasm/1.*/certs/kasm_nginx.crt /opt/kasm/kasm_nginx.crt_bak
|
mv /opt/kasm/1.*/certs/kasm_nginx.crt /opt/kasm/kasm_nginx.crt_bak
|
||||||
printf 'y\n' | $STD sudo bash /tmp/kasm_release/upgrade.sh
|
printf 'y\n' | $STD sudo bash /tmp/kasm_release/upgrade.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user