Skip to content

Commit

Permalink
move back to nova.sh method of configuring screen
Browse files Browse the repository at this point in the history
instead of overwriting screenrc (which is useful for new VMs), we manually set
the screen status line - fixes bug 902297

Change-Id: I507dc36e85e2bc3635503cde426bab8a2e966f06
  • Loading branch information
anotherjesse committed Dec 10, 2011
1 parent 30172cc commit d9eafd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
9 changes: 0 additions & 9 deletions files/screenrc

This file was deleted.

6 changes: 2 additions & 4 deletions stack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -569,10 +569,6 @@ if [[ "$ENABLED_SERVICES" =~ "quantum" ]]; then
cd $QUANTUM_DIR; sudo python setup.py develop
fi

# Add a useful screenrc. This isn't required to run openstack but is we do
# it since we are going to run the services in screen for simple
cp $FILES/screenrc ~/.screenrc

# Syslog
# ---------

Expand Down Expand Up @@ -1122,6 +1118,8 @@ function screen_it {
# create a new named screen to run processes in
screen -d -m -S stack -t stack
sleep 1
# set a reasonable statusbar
screen -r stack -X hardstatus alwayslastline "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%< %= %H"

# launch the glance registry service
if [[ "$ENABLED_SERVICES" =~ "g-reg" ]]; then
Expand Down

0 comments on commit d9eafd5

Please sign in to comment.