Permalink
Browse files

runit & cleanup have db sync now

  • Loading branch information...
1 parent 0887d6d commit a820222d560b264db0a221fbe24dd904f5337e64 ilya committed Jan 24, 2011
Showing with 2 additions and 0 deletions.
  1. +1 −0 cleanup.sh
  2. +1 −0 runit.sh
View
@@ -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
@@ -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

0 comments on commit a820222

Please sign in to comment.