platformize: Fix systemd-nspawn error when running in gitlab CI
When running in gitlab CI the following error may occur:
platformize | Failed to register machine: Unit machine-root.scope already exists.
This can be fixed by preventing the
systemd-nspawn container to register with
systemd-machined, as wrote in systemd-nspawn's man page:
--register= Controls whether the container is registered with systemd-machined(8). Takes a boolean argument, which defaults to "yes". This option should be enabled when the container runs a full Operating System (more specifically: a system and service manager as PID 1), and is useful to ensure that the container is accessible via machinectl(1) and shown by tools such as ps(1). If the container does not run a service manager, it is recommended to set this option to "no".
Signed-off-by: Frédéric Danis firstname.lastname@example.org