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