service: Block irqbalance from running in virt environments
irqbalance normally is not run in virt environments, due to the odd mappings of physical to virtual cpus, and the sometimes odd behavior of irq affinity in virtualized apics. Add ConditionVirtualization=no to the template service file to automatically skip starting irqbalance in virt systems Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
This commit is contained in:
parent
f7ae5a21f6
commit
a7f2684abd
|
@ -1,6 +1,7 @@
|
|||
[Unit]
|
||||
Description=irqbalance daemon
|
||||
After=syslog.target
|
||||
ConditionVirtualization=no
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/path/to/irqbalance.env
|
||||
|
|
Loading…
Reference in a new issue