From d3ca7cb0901b00274e26a01762d4ddb342e93383 Mon Sep 17 00:00:00 2001 From: Ales Ledvinka Date: Tue, 5 Nov 2013 13:01:36 +0000 Subject: [PATCH] FR: 24 - Exchange OS Name Hostname BMC URL during startup Correct sysconfig defaults in comment. Systemd dependencies. --- ipmitool/contrib/exchange-bmc-os-info.service.redhat | 3 ++- ipmitool/contrib/exchange-bmc-os-info.sysconf | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ipmitool/contrib/exchange-bmc-os-info.service.redhat b/ipmitool/contrib/exchange-bmc-os-info.service.redhat index 6037cdf..100493b 100644 --- a/ipmitool/contrib/exchange-bmc-os-info.service.redhat +++ b/ipmitool/contrib/exchange-bmc-os-info.service.redhat @@ -1,6 +1,7 @@ [Unit] Description=Exchange Information between BMC and OS -After=ipmi.service +After=ipmi.service network.target +Requires=ipmi.service [Service] Type=oneshot diff --git a/ipmitool/contrib/exchange-bmc-os-info.sysconf b/ipmitool/contrib/exchange-bmc-os-info.sysconf index 16a1577..2f0e675 100644 --- a/ipmitool/contrib/exchange-bmc-os-info.sysconf +++ b/ipmitool/contrib/exchange-bmc-os-info.sysconf @@ -9,7 +9,7 @@ ### Set OS Info in BMC/Service Processor ### # Name: SET_OS_INFO # Description: Set OS Name, Version and Hostname in the Service Processor (BMC) -# Default: no +# Default: yes SET_OS_INFO="yes" ### Reset OS Info in BMC/Service Processor ### @@ -22,5 +22,5 @@ RESET_OS_INFO="no" ### Set BMC/Service Processor Info in OS ### # Name; SET_BMC_INFO # Description: Set IP Address and URL of Service Processor/BMC in /run/bmc-info -# Default: no +# Default: yes SET_BMC_INFO="yes"