Merge "Load IPMI modules before chroot in CoreOS image"

This commit is contained in:
Jenkins 2016-11-23 00:04:50 +00:00 committed by Gerrit Code Review
commit 08fcf6db91
2 changed files with 7 additions and 0 deletions

View File

@ -215,6 +215,9 @@ coreos:
Requires=opt-ironic\x2dpython\x2dagent-run-log.mount Requires=opt-ironic\x2dpython\x2dagent-run-log.mount
[Service] [Service]
ExecStartPre=-/usr/sbin/modprobe ipmi_msghandler
ExecStartPre=-/usr/sbin/modprobe ipmi_devintf
ExecStartPre=-/usr/sbin/modprobe ipmi_si
ExecStart=/usr/bin/chroot /opt/ironic-python-agent \ ExecStart=/usr/bin/chroot /opt/ironic-python-agent \
/usr/local/bin/ironic-python-agent /usr/local/bin/ironic-python-agent
Restart=always Restart=always

View File

@ -0,0 +1,4 @@
---
fixes:
- Fixes detection of IPMI address in the CoreOS-based images
by loading IPMI modules before going into chroot.