Cleaned up

This commit is contained in:
butomo1989 2018-06-06 23:35:59 +02:00
parent 5b89a28198
commit 68d0c2fc81

View file

@ -20,14 +20,8 @@ function prepare_geny_cloud() {
template=$(get_value '.template') template=$(get_value '.template')
device=$(get_value '.device') device=$(get_value '.device')
if [[ $template ]] && [[ $template != null ]]; then
echo "Starting \"$device\" with template name \"$template\"..." echo "Starting \"$device\" with template name \"$template\"..."
gmtool --cloud admin startdisposable "${template}" "${device}" gmtool --cloud admin startdisposable "${template}" "${device}"
else
echo "Starting \"$device\"..."
gmtool --cloud admin start "${device}"
fi
done done
} }