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:
Neil Horman 2013-06-18 14:49:26 -04:00
parent f7ae5a21f6
commit a7f2684abd

View file

@ -1,6 +1,7 @@
[Unit]
Description=irqbalance daemon
After=syslog.target
ConditionVirtualization=no
[Service]
EnvironmentFile=/path/to/irqbalance.env