|
...
|
...
|
@@ -133,7 +133,8 @@ sudo mv /tmp/000-default /etc/apache2/sites-enabled
|
|
133
|
133
|
# dashboard can run
|
|
134
|
134
|
sudo chown -R www-data:www-data $DASH_DIR
|
|
135
|
135
|
|
|
136
|
|
-mkdir -p /var/log/glance
|
|
|
136
|
+sudo mkdir -p /var/log/glance
|
|
|
137
|
+sudo chown `whoami` /var/log/glance
|
|
137
|
138
|
|
|
138
|
139
|
# add useful screenrc
|
|
139
|
140
|
cp $DIR/files/screenrc ~/.screenrc
|
|
...
|
...
|
@@ -196,7 +197,7 @@ $NOVA_DIR/bin/nova-manage floating create $FLOATING_RANGE
|
|
196
|
196
|
|
|
197
|
197
|
# delete existing glance images/database. Glance will recreate the db
|
|
198
|
198
|
# when it is ran.
|
|
199
|
|
-rm -rf /var/lib/glance/images/*
|
|
|
199
|
+#rm -rf /var/lib/glance/images/*
|
|
200
|
200
|
rm -f $GLANCE_DIR/glance.sqlite
|
|
201
|
201
|
|
|
202
|
202
|
# nova api crashes if we start it with a regular screen command,
|