Skip to content

Commit d9eafd5

Browse files
committed
move back to nova.sh method of configuring screen
instead of overwriting screenrc (which is useful for new VMs), we manually set the screen status line - fixes bug 902297 Change-Id: I507dc36e85e2bc3635503cde426bab8a2e966f06
1 parent 30172cc commit d9eafd5

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

files/screenrc

Lines changed: 0 additions & 9 deletions
This file was deleted.

stack.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -569,10 +569,6 @@ if [[ "$ENABLED_SERVICES" =~ "quantum" ]]; then
569569
cd $QUANTUM_DIR; sudo python setup.py develop
570570
fi
571571

572-
# Add a useful screenrc. This isn't required to run openstack but is we do
573-
# it since we are going to run the services in screen for simple
574-
cp $FILES/screenrc ~/.screenrc
575-
576572
# Syslog
577573
# ---------
578574

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

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

0 commit comments

Comments
 (0)