blob: 3ff5fc180a7a4385f7cc2206a3029584860a105d [file] [log] [blame]
Alexander Filippov126f6672018-11-28 11:32:04 +03001[Unit]
2Description=Init BMC MAC address for NIC %I
Alexander Filippov2e78e092019-10-18 15:10:30 +03003ConditionPathExists=!/var/lib/first-boot-set-mac/%i
Alexander Filippov126f6672018-11-28 11:32:04 +03004Wants=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
Alexander Filippovd9d10412019-06-10 19:03:02 +03008Wants=op-vpd-parser.service
9After=op-vpd-parser.service
Alexander Filippov126f6672018-11-28 11:32:04 +030010
11[Service]
12ExecStart=/usr/bin/first-boot-set-mac.sh %i
13Type=oneshot
14RemainAfterExit=Yes
15
16[Install]
17WantedBy=multi-user.target