move screen creation closer to where used

This commit is contained in:
Jesse Andrews 2011-09-16 16:30:55 -07:00
parent d1879c5cfb
commit a16e5e9c4d

View File

@ -158,10 +158,6 @@ git_clone https://github.com/cloudbuilders/openstack-munin.git $MUNIN_DIR
# ==============
# create a new named screen to store things in
screen -d -m -S nova -t nova
sleep 1
# setup our checkouts so they are installed into python path
# allowing ``import nova`` or ``import glance.client``
cd $NOVA_DIR; sudo python setup.py develop
@ -405,6 +401,10 @@ function screen_it {
fi
}
# create a new named screen to run processes in
screen -d -m -S nova -t nova
sleep 1
screen_it g-api "cd $GLANCE_DIR; bin/glance-api --config-file=etc/glance-api.conf"
screen_it g-reg "cd $GLANCE_DIR; bin/glance-registry --config-file=etc/glance-registry.conf"
screen_it key "$KEYSTONE_DIR/bin/keystone --config-file $KEYSTONE_CONF"