1[Unit]
2Description=Init BMC MAC address for NIC %I
3ConditionPathExists=!/var/lib/first-boot-set-mac/%i
4Wants=mapper-wait@-xyz-openbmc_project-inventory.service
5After=mapper-wait@-xyz-openbmc_project-inventory.service
6Wants=mapper-wait@-xyz-openbmc_project-network-%i.service
7After=mapper-wait@-xyz-openbmc_project-network-%i.service
8Wants=op-vpd-parser.service
9After=op-vpd-parser.service
10
11[Service]
12ExecStart=/usr/bin/first-boot-set-mac.sh %i
13Type=oneshot
14RemainAfterExit=Yes
15
16[Install]
17WantedBy=multi-user.target
18