mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-26 21:11:54 +01:00
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:
parent
14ffb04418
commit
0cff10309b
@ -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.
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user