aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlibexec/rc/rc.d/nuageinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/rc/rc.d/nuageinit b/libexec/rc/rc.d/nuageinit
index 54e5b1fbec07..c901971488bd 100755
--- a/libexec/rc/rc.d/nuageinit
+++ b/libexec/rc/rc.d/nuageinit
@@ -75,13 +75,13 @@ nuageinit_start()
for d in openstack ec2; do
dir=/media/nuageinit/$d/latest
if [ -d $dir ]; then
- /usr/libexec/nuageinit $dir $citype
+ /usr/libexec/nuageinit $dir $citype 2>&1 | tee -a /var/log/nuageinit.log
break
fi
done
;;
nocloud)
- /usr/libexec/nuageinit /media/nuageinit $citype
+ /usr/libexec/nuageinit /media/nuageinit $citype 2>&1 | tee -a /var/log/nuageinit.log
;;
esac
if [ -n "$drive" ]; then