Make the standard devstack logging work with XenServer

Fixes bug 1087387

Stop redirecting the output in devstack to ensure when
you configure LOGFILE that the devstack scripts keep working

Change-Id: I00dce315f5f79c4fc351d9ab11c504274d998fce
This commit is contained in:
John Garbutt 2012-12-04 16:14:04 +00:00
parent 9b243b32cc
commit 72cffd56bf

View File

@ -66,7 +66,7 @@ cat <<EOF >$STAGING_DIR/etc/rc.local
# network restart required for getting the right gateway
/etc/init.d/networking restart
chown -R stack /opt/stack
su -c "/opt/stack/run.sh > /opt/stack/run.sh.log 2>&1" stack
su -c "/opt/stack/run.sh > /opt/stack/run.sh.log" stack
exit 0
EOF