[node-patches] Change in ovirt-node[node-3.0]: Add a on-boot hook to run scripts on boot
fabiand at fedoraproject.org
fabiand at fedoraproject.org
Mon Jun 23 15:16:04 UTC 2014
Fabian Deutsch has posted comments on this change.
Change subject: Add a on-boot hook to run scripts on boot
......................................................................
Patch Set 1:
(2 comments)
http://gerrit.ovirt.org/#/c/29077/1/scripts/ovirt-init-functions.sh.in
File scripts/ovirt-init-functions.sh.in:
Line 1005: if [[ -d "$HOOK_ON_BOOT_DIR" ]];
Line 1006: then
Line 1007: for handler in "$HOOK_ON_BOOT_DIR"/*;
Line 1008: do
Line 1009: echo "Running handler: $handler"
> may want to use "log" instead of echo here
Done
Line 1010: "$handler"
Line 1011: done
Line 1012: fi
Line 1013:
Line 1006: then
Line 1007: for handler in "$HOOK_ON_BOOT_DIR"/*;
Line 1008: do
Line 1009: echo "Running handler: $handler"
Line 1010: "$handler"
> Can we log the output of all hooks into /var/log/ovirt-node-boot-hook.log ?
For convenience into /var/log/ovirt.log
Line 1011: done
Line 1012: fi
Line 1013:
Line 1014: return 0
--
To view, visit http://gerrit.ovirt.org/29077
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I306c1f12da7ec3e2454a8504cd3c462364a291f3
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: node-3.0
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: Douglas Schilling Landgraf <dougsland at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: Joey Boggs <jboggs at redhat.com>
Gerrit-Reviewer: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-HasComments: Yes
More information about the node-patches
mailing list