For BYOS images with a datestamp later than 20220103, spare -chost- images, the cloud-regionsrv-client package will be installed by default to make registration more straight forward. Unlike for on-demand instances the registration is not automatic on instance startup. The reason for this is that your SUSE registration code is required for access to the update infrastructure.
This means, that never public cloud images in azure/aws/gcp should use registercloudguest to connect to the update servers.
This PR introduces:
use registercloudguest if it available (baked into the image)
update old workaround that is broken with new registercloudguest releases
From https://www.suse.com/c/byos-instances-and-the-suse-public-cloud-update-infrastructure/:
This means, that never public cloud images in azure/aws/gcp should use
registercloudguest
to connect to the update servers.This PR introduces:
registercloudguest
if it available (baked into the image)registercloudguest
releasestested with the following images
azure
GCP
PR for develop is #815