Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Conversation

@CJFWeatherhead
Copy link

Might be a cleaner way of doing this, but you get the idea

Might be a cleaner way of doing this, but you get the idea
(( pullPlug-- ));
sleep 1;
done;
if sudo -u vboxuser_"${vm}" VBoxManage showvminfo "${vm}" --machinereadable | grep running
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use vmRunning "${vm}" here as per L25 - if vmRunning doesn't do what you need, gimme a pull request :)

Merry Christmas, btw.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants