xref: /openbmc/phosphor-misc/firstboot/first-boot-set-hostname.service (revision 403e26351c06783fac9de012167d408a89d333ee)
1*403e2635SBrad Bishop[Unit]
2*403e2635SBrad BishopDescription=Init BMC Hostname
3*403e2635SBrad BishopConditionPathExists=!/var/lib/first-boot-set-hostname
4*403e2635SBrad BishopWants=op-vpd-parser.service
5*403e2635SBrad BishopAfter=op-vpd-parser.service
6*403e2635SBrad Bishop
7*403e2635SBrad Bishop[Service]
8*403e2635SBrad BishopExecStart=/usr/bin/first-boot-set-hostname.sh
9*403e2635SBrad BishopType=oneshot
10*403e2635SBrad BishopRemainAfterExit=Yes
11*403e2635SBrad Bishop
12*403e2635SBrad Bishop[Install]
13*403e2635SBrad BishopWantedBy=multi-user.target
14*403e2635SBrad Bishop
15