f0f3e3bac4
This allows nodes with remote devices configured via iBFT to be correctly used during Ironic introspection and deployment, at least for non-multipath configurations. The new element is added as a dependency for ironic-agent. Change-Id: If3dac6504d26535593f12e851092065b688ef696
22 lines
394 B
Bash
Executable file
22 lines
394 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ "${DIB_DEBUG_TRACE:-0}" -gt 0 ]; then
|
|
set -x
|
|
fi
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
case "$DIB_INIT_SYSTEM" in
|
|
upstart)
|
|
;;
|
|
systemd)
|
|
systemctl enable init-ibft-interfaces.service
|
|
;;
|
|
sysv)
|
|
update-rc.d init-ibft-interfaces.init defaults
|
|
;;
|
|
*)
|
|
echo "Unsupported init system $DIB_INIT_SYSTEM"
|
|
exit 1
|
|
;;
|
|
esac
|