From 9053d6a0ea640a6f37b8238b8438e97b964f8ce4 Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Mon, 12 Sep 2011 22:13:11 -0700 Subject: [PATCH] glance issues with sudo --- stack.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stack.sh b/stack.sh index ccdb1938d5..906755be93 100755 --- a/stack.sh +++ b/stack.sh @@ -133,7 +133,8 @@ sudo mv /tmp/000-default /etc/apache2/sites-enabled # dashboard can run sudo chown -R www-data:www-data $DASH_DIR -mkdir -p /var/log/glance +sudo mkdir -p /var/log/glance +sudo chown `whoami` /var/log/glance # add useful screenrc cp $DIR/files/screenrc ~/.screenrc @@ -196,7 +197,7 @@ $NOVA_DIR/bin/nova-manage floating create $FLOATING_RANGE # delete existing glance images/database. Glance will recreate the db # when it is ran. -rm -rf /var/lib/glance/images/* +#rm -rf /var/lib/glance/images/* rm -f $GLANCE_DIR/glance.sqlite # nova api crashes if we start it with a regular screen command,