Alexander Filippov | 126f667 | 2018-11-28 11:32:04 +0300 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Init BMC MAC address for NIC %I |
Alexander Filippov | 2e78e09 | 2019-10-18 15:10:30 +0300 | [diff] [blame] | 3 | ConditionPathExists=!/var/lib/first-boot-set-mac/%i |
Alexander Filippov | 126f667 | 2018-11-28 11:32:04 +0300 | [diff] [blame] | 4 | Wants=mapper-wait@-xyz-openbmc_project-inventory.service |
| 5 | After=mapper-wait@-xyz-openbmc_project-inventory.service |
| 6 | Wants=mapper-wait@-xyz-openbmc_project-network-%i.service |
| 7 | After=mapper-wait@-xyz-openbmc_project-network-%i.service |
Alexander Filippov | d9d1041 | 2019-06-10 19:03:02 +0300 | [diff] [blame] | 8 | Wants=op-vpd-parser.service |
| 9 | After=op-vpd-parser.service |
Alexander Filippov | 126f667 | 2018-11-28 11:32:04 +0300 | [diff] [blame] | 10 | |
| 11 | [Service] |
| 12 | ExecStart=/usr/bin/first-boot-set-mac.sh %i |
| 13 | Type=oneshot |
| 14 | RemainAfterExit=Yes |
| 15 | |
| 16 | [Install] |
| 17 | WantedBy=multi-user.target |