diff options
Diffstat (limited to 'meta-openpower/recipes-phosphor/network/first-boot-set-mac/first-boot-set-mac@.service')
-rw-r--r-- | meta-openpower/recipes-phosphor/network/first-boot-set-mac/first-boot-set-mac@.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-openpower/recipes-phosphor/network/first-boot-set-mac/first-boot-set-mac@.service b/meta-openpower/recipes-phosphor/network/first-boot-set-mac/first-boot-set-mac@.service new file mode 100644 index 0000000000..a7c913eb62 --- /dev/null +++ b/meta-openpower/recipes-phosphor/network/first-boot-set-mac/first-boot-set-mac@.service @@ -0,0 +1,14 @@ +[Unit] +Description=Init BMC MAC address for NIC %I +Wants=mapper-wait@-xyz-openbmc_project-inventory.service +After=mapper-wait@-xyz-openbmc_project-inventory.service +Wants=mapper-wait@-xyz-openbmc_project-network-%i.service +After=mapper-wait@-xyz-openbmc_project-network-%i.service + +[Service] +ExecStart=/usr/bin/first-boot-set-mac.sh %i +Type=oneshot +RemainAfterExit=Yes + +[Install] +WantedBy=multi-user.target |