git: 548d4b2af90b - stable/14 - nuageinit: log nuageinit execution
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 23 Jun 2025 07:44:06 UTC
The branch stable/14 has been updated by bapt:
URL: https://cgit.FreeBSD.org/src/commit/?id=548d4b2af90b5cf95eab24ffc4d0dfa5a1f348eb
commit 548d4b2af90b5cf95eab24ffc4d0dfa5a1f348eb
Author: Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2025-06-06 11:06:54 +0000
Commit: Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2025-06-23 07:43:11 +0000
nuageinit: log nuageinit execution
Sponsored by: OVHCloud
(cherry picked from commit 9a62e1d98dc79c69f0d20439bd34a16149106046)
---
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