This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am error10 on github. | |
* I am error10 (https://keybase.io/error10) on keybase. | |
* I have a public key ASDLv0ZzWIW1MecYnBvgn3p0LpFL5FxqpK4g4yFPyhKl_Qo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Check whether a named virtual machine exists. | |
# | |
# Arguments: | |
# 1: virtual machine name given by virsh | |
# | |
# Returns: | |
# 0 if virtual machine exists | |
# 1 if virtual machine does not exist |