Cleaned up
This commit is contained in:
parent
5b89a28198
commit
68d0c2fc81
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue