Browse code

Fix screenrc for nova-compute

When devstack creates stack-screenrc, it includes unescaped "
characters that cause failures starting nova-compute. This fix
changes the " to ' so there isn't a conflict.

Fixes bug 1183114

Change-Id: I7830879d56f1ac20950aace46dd3b72d209986ce

Ben Nemec authored on 2013/05/23 06:13:11
Showing 1 changed files
... ...
@@ -690,7 +690,7 @@ function start_nova() {
690 690
 
691 691
     # The group **$LIBVIRT_GROUP** is added to the current user in this script.
692 692
     # Use 'sg' to execute nova-compute as a member of the **$LIBVIRT_GROUP** group.
693
-    screen_it n-cpu "cd $NOVA_DIR && sg $LIBVIRT_GROUP \"$NOVA_BIN_DIR/nova-compute --config-file $NOVA_CONF_BOTTOM\""
693
+    screen_it n-cpu "cd $NOVA_DIR && sg $LIBVIRT_GROUP '$NOVA_BIN_DIR/nova-compute --config-file $NOVA_CONF_BOTTOM'"
694 694
     screen_it n-crt "cd $NOVA_DIR && $NOVA_BIN_DIR/nova-cert"
695 695
     screen_it n-net "cd $NOVA_DIR && $NOVA_BIN_DIR/nova-network --config-file $NOVA_CONF_BOTTOM"
696 696
     screen_it n-sch "cd $NOVA_DIR && $NOVA_BIN_DIR/nova-scheduler --config-file $NOVA_CONF_BOTTOM"