summaryrefslogtreecommitdiff
path: root/meta-openpower/recipes-phosphor/network/first-boot-set-hostname/first-boot-set-hostname.service
blob: 22bb80c10f0952c0eea4ad32a56476a8102f1f1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Init BMC Hostname
ConditionPathExists=!/var/lib/first-boot-set-hostname
Wants=op-vpd-parser.service
After=op-vpd-parser.service

[Service]
ExecStart=/usr/bin/first-boot-set-hostname.sh
Type=oneshot
RemainAfterExit=Yes

[Install]
WantedBy=multi-user.target