Fix ironic-python-agent image not loading vfat mod
Closes-Bug: 1589450 Load the vfat driver as a Pre Exec action for systemd before starting ironic-python-agent in order to allow reading of parameters.txt file required for the ironic-python-agent to find its configuration. Change-Id: Ibf74dd1b2678ea76e0676711a7aa5ba6b88d5421
This commit is contained in:
parent
38dcce0fc4
commit
2854f4063b
@ -3,6 +3,7 @@ Description=Ironic Python Agent
|
|||||||
After=network-online.target
|
After=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
ExecStartPre=/usr/sbin/modprobe vfat
|
||||||
ExecStart=/usr/local/bin/ironic-python-agent
|
ExecStart=/usr/local/bin/ironic-python-agent
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=30s
|
RestartSec=30s
|
||||||
|
Loading…
Reference in New Issue
Block a user