afficher l'opération effectuée

This commit is contained in:
Jephté Clain 2014-04-18 09:05:22 +04:00
parent f1d1248fc4
commit b1de7fa20a
1 changed files with 2 additions and 0 deletions

View File

@ -112,6 +112,7 @@ $(array_join rvms "
fi fi
if [ -n "$vm" ]; then if [ -n "$vm" ]; then
estep "Démarrage de $vm${headless:+ en tâche de fond}"
VBoxManage -q startvm ${headless:+--type headless} "$vm" "$@" VBoxManage -q startvm ${headless:+--type headless} "$vm" "$@"
else else
ewarn "Aucune VM à démarrer n'a été trouvée" ewarn "Aucune VM à démarrer n'a été trouvée"
@ -123,6 +124,7 @@ elif [ "$action" == stop ]; then
fi fi
if [ -n "$vm" ]; then if [ -n "$vm" ]; then
estep "Arrêt de $vm avec la méthode $stopaction"
VBoxManage -q controlvm "$vm" "$stopaction" VBoxManage -q controlvm "$vm" "$stopaction"
fi fi