changelog: remove cloudsigma custom cloudinit service configuration

CloudSigma uses a serial port to transfer metadata into a running
instance. Because the service was overwritten with the configuration
"restart" it was possible that the previous instance got interrupted.
This left the serial connection in an non-deterministic state as the
next user would get output from the previous request. The service in
general was not needed as the cloud oem is already set to cloudsigma.
This commit is contained in:
David Eichin 2024-02-06 16:18:22 +01:00
parent 14ffb04418
commit 0cff10309b
3 changed files with 1 additions and 13 deletions

View File

@ -0,0 +1 @@
- Removed custom CloudSigma coreos-cloudinit service configuration since it will be called with the cloudsigma oem anyway. The restart of the service can also cause the serial port to be stuck in an nondeterministic state which breaks future runs.

View File

@ -1,19 +1,6 @@
#cloud-config
coreos:
units:
- name: oem-cloudinit.service
command: restart
runtime: yes
content: |
[Unit]
Description=Cloudinit from CloudSigma metadata
[Service]
Type=oneshot
ExecStartPre=stty -F /dev/ttyS1 raw -echo
ExecStart=/usr/bin/coreos-cloudinit --oem=cloudsigma
oem:
id: cloudsigma
name: CloudSigma