git: 9a62e1d98dc7 - main - nuageinit: log nuageinit execution
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 Jun 2025 11:07:39 UTC
The branch main has been updated by bapt:
URL: https://cgit.FreeBSD.org/src/commit/?id=9a62e1d98dc79c69f0d20439bd34a16149106046
commit 9a62e1d98dc79c69f0d20439bd34a16149106046
Author: Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2025-06-06 11:06:54 +0000
Commit: Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2025-06-06 11:07:32 +0000
nuageinit: log nuageinit execution
Sponsored by: OVHCloud
---
libexec/rc/rc.d/nuageinit | 4 ++--
1 file 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