NodeMan97 | 036d1d1 | 2022-06-17 09:27:51 -0500 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=First Boot Disable IPMI Network |
| 3 | After=phosphor-ipmi-net@eth0.service |
| 4 | After=phosphor-ipmi-net@eth1.service |
| 5 | After=phosphor-ipmi-net@eth0.socket |
| 6 | After=phosphor-ipmi-net@eth1.socket |
| 7 | Before=srvcfg-manager.service |
Andrew Jeffery | 1dc30e8 | 2023-06-08 15:52:40 +0930 | [diff] [blame] | 8 | ConditionPathExists=!/var/lib/ipmi-net-disable-one-time |
NodeMan97 | 036d1d1 | 2022-06-17 09:27:51 -0500 | [diff] [blame] | 9 | |
| 10 | [Service] |
Andrew Jeffery | 0993064 | 2023-06-08 16:11:53 +0930 | [diff] [blame] | 11 | ExecStart=/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 |
NodeMan97 | 036d1d1 | 2022-06-17 09:27:51 -0500 | [diff] [blame] | 16 | ExecStart=/bin/touch /var/lib/ipmi-net-disable-one-time |
| 17 | SyslogIdentifier=first-boot-disable-ipmi-net |
| 18 | Type=oneshot |
| 19 | RemainAfterExit=Yes |
| 20 | |
| 21 | [Install] |
| 22 | WantedBy=multi-user.target |