move screen creation closer to where used
This commit is contained in:
parent
d1879c5cfb
commit
a16e5e9c4d
8
stack.sh
8
stack.sh
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user