Darryl L. Pierce
2009-Jun-12 13:10 UTC
[Ovirt-devel] [PATCH node] o-c-config will only run when local storage is configured. rhbz#505560
o-c-config checks to see if local storage is configured prior to starting. If local storage is not configured then it reports an error and exits. Signed-off-by: Darryl L. Pierce <dpierce at redhat.com> --- scripts/ovirt-config-logging | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/scripts/ovirt-config-logging b/scripts/ovirt-config-logging index 5da991f..ba661c3 100755 --- a/scripts/ovirt-config-logging +++ b/scripts/ovirt-config-logging @@ -8,6 +8,11 @@ trap '__st=$?; stop_log; exit $__st' 0 trap 'exit $?' 1 2 13 15 +if ! is_local_storage_configured; then + printf "Local storage must be configured prior to configuring the logging system.\n" + exit 99 +fi + RSYSLOG_FILE="/etc/rsyslog.conf" # Creates the rsyslog file based on the following inputs @@ -185,4 +190,3 @@ else printf "\n\n Logging Configuration\n\n" prompt_user fi - -- 1.6.0.6
Darryl L. Pierce
2009-Jun-15 19:17 UTC
[Ovirt-devel] Re: [PATCH node] o-c-config will only run when local storage is configured. rhbz#505560
On Fri, Jun 12, 2009 at 09:10:52AM -0400, Darryl L. Pierce wrote:> o-c-config checks to see if local storage is configured prior to > starting. If local storage is not configured then it reports an error > and exits. > > Signed-off-by: Darryl L. Pierce <dpierce at redhat.com> > ---Can I get an ACK? -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Virtual Machine Management - http://www.ovirt.org/ Is fearr Gaeilge bhriste n? B?arla cliste. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20090615/2c0d9351/attachment.sig>
Seemingly Similar Threads
- [PATCH node-image] Add ability to set persistent ssh_host_keys on the node, usefull if you run diskless instance of ovirt-node
- [PATCH node] Users can view log files on the node. bz#506289
- [PATCH node] Fixes when a removable media is removed. bz#507455
- [PATCH node] updated unpersist prompts bz512539
- [PATCH ovirt-node-image] alias vi to vi + restorecon