blob: 2c72a2a758085ee52bc15448a3c3f578c8707e17 [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]
11ExecStart=/bin/systemctl stop phosphor-ipmi-net@eth0.socket
12ExecStart=/bin/systemctl disable phosphor-ipmi-net@eth0.socket
13ExecStart=/bin/systemctl stop phosphor-ipmi-net@eth0.service
14ExecStart=/bin/systemctl disable phosphor-ipmi-net@eth0.service
15ExecStart=/bin/systemctl stop phosphor-ipmi-net@eth1.socket
16ExecStart=/bin/systemctl disable phosphor-ipmi-net@eth1.socket
17ExecStart=/bin/systemctl stop phosphor-ipmi-net@eth1.service
18ExecStart=/bin/systemctl disable phosphor-ipmi-net@eth1.service
NodeMan97036d1d12022-06-17 09:27:51 -050019ExecStart=/bin/touch /var/lib/ipmi-net-disable-one-time
20SyslogIdentifier=first-boot-disable-ipmi-net
21Type=oneshot
22RemainAfterExit=Yes
23
24[Install]
25WantedBy=multi-user.target