Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

runit & cleanup have db sync now

  • Loading branch information...
commit a820222d560b264db0a221fbe24dd904f5337e64 1 parent 0887d6d
ilya authored
Showing with 2 additions and 0 deletions.
  1. +1 −0  cleanup.sh
  2. +1 −0  runit.sh
View
1  cleanup.sh
@@ -16,6 +16,7 @@ for n in $(virsh list|grep instance |perl -pi -e 's/^\s*(\d+).*$/$1/'); do virsh
mysqladmin -uroot -p$PWD -f drop nova
mysqladmin -uroot -p$PWD create nova
+nova-manage db sync
rm -f /var/log/nova/nova*log*
rm -fr /var/lib/nova/instances/* /var/lib/nova/images/*
View
1  runit.sh
@@ -8,6 +8,7 @@ ADDR_PER_NETWORK=16
TMPDIR=`mktemp -d`
+nova-manage db sync
nova-manage user admin $USER
nova-manage project create $PROJECT $USER
nova-manage network create $NETWORK $NETWORKS_NUM $ADDR_PER_NETWORK
Please sign in to comment.
Something went wrong with that request. Please try again.