Load IPMI modules before chroot in CoreOS image
Currently we try to modprobe IPMI related modules in coreos image inside the chroot. It won't work, so we need to load them before we get in it. Change-Id: Ia0d912da8fc14aafcb6f84e9cc9e00c0408228e4 Closes-Bug: #1643353
This commit is contained in:
parent
f9236682f7
commit
0a7735d1ba
@ -215,6 +215,9 @@ coreos:
|
||||
Requires=opt-ironic\x2dpython\x2dagent-run-log.mount
|
||||
|
||||
[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 \
|
||||
/usr/local/bin/ironic-python-agent
|
||||
Restart=always
|
||||
|
@ -0,0 +1,4 @@
|
||||
---
|
||||
fixes:
|
||||
- Fixes detection of IPMI address in the CoreOS-based images
|
||||
by loading IPMI modules before going into chroot.
|
Loading…
x
Reference in New Issue
Block a user