blob: 8bd241190786a9d2180a41eb9636ba67c52986d8 [file] [log] [blame]
NodeMan97036d1d12022-06-17 09:27:51 -05001[Unit]
2Description=First Boot Disable IPMI Network
3After=phosphor-ipmi-net@eth0.service
4After=phosphor-ipmi-net@eth1.service
5After=phosphor-ipmi-net@eth0.socket
6After=phosphor-ipmi-net@eth1.socket
7Before=srvcfg-manager.service
Andrew Jeffery1dc30e82023-06-08 15:52:40 +09308ConditionPathExists=!/var/lib/ipmi-net-disable-one-time
NodeMan97036d1d12022-06-17 09:27:51 -05009
10[Service]
Andrew Jeffery09930642023-06-08 16:11:53 +093011ExecStart=/bin/systemctl disable --no-reload --now \
12 phosphor-ipmi-net@eth0.socket \
13 phosphor-ipmi-net@eth0.service \
14 phosphor-ipmi-net@eth1.socket \
15 phosphor-ipmi-net@eth1.service
NodeMan97036d1d12022-06-17 09:27:51 -050016ExecStart=/bin/touch /var/lib/ipmi-net-disable-one-time
17SyslogIdentifier=first-boot-disable-ipmi-net
18Type=oneshot
19RemainAfterExit=Yes
20
21[Install]
22WantedBy=multi-user.target