File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 1616NAME=$( basename " ${URL} " )
1717NAME=${NAME% .* }
1818
19- echo " [+] URL of the tarball: ${URL} "
20- echo " [+] Target name: ${NAME} "
19+ echo " [+] URL of the tarball: ${URL} " >&2
20+ echo " [+] Target name: ${NAME} " >&2
2121
22- echo " [+] Creating new server in live mode..."
22+ echo " [+] Creating new server in live mode..." >&2
2323SERVER=$(
2424 scw create \
2525 --bootscript=3.2.34 \
2626 --name=" [live] $NAME " \
27- --env=" boot=live" \
28- --env=" rescue_image=${URL} " \
27+ --env=" boot=live rescue_image=${URL} " \
2928 50GB
3029 )
31- echo " [+] Server created: ${SERVER} "
30+ echo " [+] Server created: ${SERVER} " >&2
3231
33- echo " [+] Booting..."
32+ echo " [+] Booting..." >&2
3433scw start " ${SERVER} " > /dev/null
35- echo " [+] Done"
34+ echo " [+] Done" >&2
35+
36+ echo " ${SERVER} "
You can’t perform that action at this time.
0 commit comments