Adjust bare metal systemd target instance string for single-host machines.

Use "0" as the instance suffix for bare metal systemd targets when it's the last instance id, used for single-host configurations.

Tested:
https://paste.googleplex.com/6508699371438080

Tested on single-host machine. Upon issuing `LinuxBootDone` from CN, On BMC pre-change services started with suffix 3 and with change the services start with suffix 0.

PiperOrigin-RevId: 800559921
Change-Id: Ieeba22641cded65beee9ba758f94f0436aef2e14
2 files changed
tree: 9d28fd1ed175f432bb474cdcc59dfa95f06134c4
  1. service_files/
  2. src/
  3. LICENSE
  4. meson.build
  5. meson.options
  6. README.md
README.md

TODO(kkachana): Add developer workflow guide

gRPC Blob Handler

This is a general gRPC blob handler, receives blobs over gRPC and handles accordingly.

SMBIOS gRPC Blob

SMBIOS gRPC handler receives the SMBIOS from CPU and saves the file at /var/lib/smbios/smbios-remote-host-N and signals smbios app. smbios app parses the saved file and populated smbios objects.

Bios Settings gRPC Blob

Baremetal config gRPC Blob