diff options
Diffstat (limited to 'deploy')
-rwxr-xr-x | deploy/prepare.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/deploy/prepare.sh b/deploy/prepare.sh index 89be0e98..60657a0c 100755 --- a/deploy/prepare.sh +++ b/deploy/prepare.sh @@ -42,6 +42,9 @@ function prepare_env() { sudo apt-get install -y --force-yes git python-dev sudo apt-get install -y --force-yes libxslt-dev libxml2-dev libvirt-dev build-essential qemu-utils qemu-kvm libvirt-bin virtinst libmysqld-dev sudo service libvirt-bin restart + if sudo service openvswitch-switch status|grep stop; then + sudo service openvswitch-switch start + fi # prepare work dir rm -rf $WORK_DIR/{installer,vm,network,iso} |