Blame SOURCES/set-bmc-url.sh

e20f4c
# Export BMC URL
e20f4c
#
e20f4c
e20f4c
BMC_INFO="/var/run/bmc-info"
e20f4c
e20f4c
if [ "$(id -u)" = "0" ]; then
e20f4c
	[ -f ${BMC_INFO} ] && . ${BMC_INFO} && \
e20f4c
		export "${BMC_URL}" "${BMC_IPv4}" >/dev/null 2>&1
e20f4c
fi
e20f4c
e20f4c
unset BMC_INFO