Code Review
/
icn.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
adding metal3 vm verifier
[icn.git]
/
deploy
/
metal3-vm
/
vm-setup
/
roles
/
virtbmc
/
files
/
vbmc_start.sh
1
#!/bin/bash -x
2
3
name="$1"
4
5
status=$(vbmc show -f value $name | grep status | cut -f2 -d' ')
6
7
export PATH=$PATH:/usr/local/bin
8
9
if [[ $status != "running" ]]; then
10
vbmc start $name
11
fi