ironic-agent: use /sbin for modprobe

On redhat/fedora /sbin is a symlink to /usr/sbin, but not on all
platforms.  This was put in with
Ibf74dd1b2678ea76e0676711a7aa5ba6b88d5421

Change-Id: I7847b29503c3c07503430a7d85a5364911894c6c
Closes-bug: #1658297
This commit is contained in:
Ian Wienand 2017-01-23 14:20:36 +11:00
parent 48bbbe6268
commit ca60b2cf7d
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ Description=Ironic Python Agent
After=network-online.target
[Service]
ExecStartPre=/usr/sbin/modprobe vfat
ExecStartPre=/sbin/modprobe vfat
ExecStart=/usr/local/bin/ironic-python-agent
Restart=always
RestartSec=30s