instead of overwriting screenrc (which is useful for new VMs), we manually set
the screen status line - fixes bug 902297
Change-Id: I507dc36e85e2bc3635503cde426bab8a2e966f06
| ... | ... |
@@ -569,10 +569,6 @@ if [[ "$ENABLED_SERVICES" =~ "quantum" ]]; then |
| 569 | 569 |
cd $QUANTUM_DIR; sudo python setup.py develop |
| 570 | 570 |
fi |
| 571 | 571 |
|
| 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 |
- |
|
| 576 | 572 |
# Syslog |
| 577 | 573 |
# --------- |
| 578 | 574 |
|
| ... | ... |
@@ -1122,6 +1118,8 @@ function screen_it {
|
| 1122 | 1122 |
# create a new named screen to run processes in |
| 1123 | 1123 |
screen -d -m -S stack -t stack |
| 1124 | 1124 |
sleep 1 |
| 1125 |
+# set a reasonable statusbar |
|
| 1126 |
+screen -r stack -X hardstatus alwayslastline "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%< %= %H"
|
|
| 1125 | 1127 |
|
| 1126 | 1128 |
# launch the glance registry service |
| 1127 | 1129 |
if [[ "$ENABLED_SERVICES" =~ "g-reg" ]]; then |