| ... | ... |
@@ -1,7 +1,16 @@ |
| 1 |
-Tool to build nfs export openstack environments. This is useful for development |
|
| 1 |
+Tool to build (nfs export) openstack dev environments |
|
| 2 |
+ |
|
| 3 |
+## Tod |
|
| 4 |
+ |
|
| 5 |
+* move back to using sudo |
|
| 6 |
+* Add volume support |
|
| 7 |
+* Add quantum support |
|
| 8 |
+* Add python-novaclient cli support |
|
| 9 |
+* allow changing of git locations (specify different tag/branch or repos) |
|
| 10 |
+* change method of invoking stack.sh to ./stack.sh all _or_ ./stack.sh nova-compute,nova-network,nova-api,nova-volume |
|
| 11 |
+* allow sql/rabbit connection to be specified via environment variables with sensible defaults |
|
| 12 |
+ |
|
| 13 |
+# Future |
|
| 2 | 14 |
|
| 3 |
-* todo: move as much from run to install as possible |
|
| 4 |
- * issue: HOST_IP will be different on each machine - might need to update / change stuff |
|
| 5 |
-* todo: use local disk on nfs boots for instances |
|
| 6 | 15 |
* idea: create a live-cd / vmware preview image using this? |
| 7 | 16 |
* idea: use lxc to make the proto-image have everything? so launching a new server is just turn on / updating / run? |
| ... | ... |
@@ -37,8 +37,12 @@ NET_MAN=${NET_MAN:-VlanManager}
|
| 37 | 37 |
# ip or you risk breaking things. |
| 38 | 38 |
# FLAT_INTERFACE=eth0 |
| 39 | 39 |
|
| 40 |
+# TODO: set rabbitmq conn string explicitly as well |
|
| 41 |
+# TODO: switch to mysql for all services |
|
| 40 | 42 |
SQL_CONN=sqlite:///$NOVA_DIR/nova.sqlite |
| 41 | 43 |
|
| 44 |
+# FIXME: commands should be: stack.sh all or list of services to install/run |
|
| 45 |
+ |
|
| 42 | 46 |
# You should only have to run this once |
| 43 | 47 |
if [ "$CMD" == "install" ]; then |
| 44 | 48 |
# install apt requirements |
| ... | ... |
@@ -105,7 +109,7 @@ if [ "$CMD" == "install" ]; then |
| 105 | 105 |
# create an empty directory to use as our |
| 106 | 106 |
mkdir $DASH_DIR/.blackhole |
| 107 | 107 |
# FIXME(ja): can't figure out how to make $DASH_DIR work in sed, also install to available/a2e it |
| 108 |
- cat $DIR/files/000-default.template | sed "s/%DASH_DIR%/\/opt\/dash/g" > /etc/apache2/sites-enabled/000-default |
|
| 108 |
+ cat $DIR/files/000-default.template | sed 's/%DASH_DIR%/\/opt\/dash/g' > /etc/apache2/sites-enabled/000-default |
|
| 109 | 109 |
|
| 110 | 110 |
chown -R www-data:www-data $DASH_DIR |
| 111 | 111 |
|
| ... | ... |
@@ -121,6 +125,8 @@ if [ "$CMD" == "install" ]; then |
| 121 | 121 |
|
| 122 | 122 |
# add useful screenrc |
| 123 | 123 |
cp $DIR/files/screenrc ~/.screenrc |
| 124 |
+ |
|
| 125 |
+ # TODO: update current user to allow sudo for all commands in files/sudo/* |
|
| 124 | 126 |
exit |
| 125 | 127 |
fi |
| 126 | 128 |
|