Alexander Filippov | 89bd384 | 2019-05-22 11:07:30 +0300 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Init BMC Hostname |
Alexander Filippov | 2e78e09 | 2019-10-18 15:10:30 +0300 | [diff] [blame^] | 3 | ConditionPathExists=!/var/lib/first-boot-set-hostname |
Alexander Filippov | d9d1041 | 2019-06-10 19:03:02 +0300 | [diff] [blame] | 4 | Wants=op-vpd-parser.service |
| 5 | After=op-vpd-parser.service |
Alexander Filippov | 89bd384 | 2019-05-22 11:07:30 +0300 | [diff] [blame] | 6 | |
| 7 | [Service] |
| 8 | ExecStart=/usr/bin/first-boot-set-hostname.sh |
| 9 | Type=oneshot |
| 10 | RemainAfterExit=Yes |
| 11 | |
| 12 | [Install] |
| 13 | WantedBy=multi-user.target |
| 14 | |