1

So, I have this part in my cloud-init:

runcmd:
  - echo : RSA 'node.crt' >> /etc/ipsec.secrets

I literally can't make it to work.

I tried these variations:

runcmd:
  - echo : RSA 'node.crt' >> /etc/ipsec.secrets

runcmd:
  - echo ": RSA 'node.crt'" >> /etc/ipsec.secrets

runcmd:
  - echo \: RSA 'node.crt' >> /etc/ipsec.secrets

runcmd:
  - echo "\: RSA 'node.crt'" >> /etc/ipsec.secrets
5