Questions tagged [cloud-init]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
12 views

'[[0;1;31mFAILED[0m] Failed to start' when running cloud-init?

I am trying to contextualize a docker container using cloud-init. Why do I see [[0;1;31mFAILED[0m] Failed to start in the OpenStack log? What is a likely cause of this error?
0
votes
1answer
27 views

Provision and configure Azure VM in private subnet (file, remote-exec, cloud-init, etc.)

(Originally posted to discuss.hashicorp.com) I’m setting up a basic multi-tier infrastructure composed of two Azure VMs: Web server (VM1) with public IP and private IP (subnet1) Data server (VM2) in ...
1
vote
0answers
200 views

How to combine cloud-init with Azure ARM Template

I'm trying to set up a Ubuntu Server on Azure. None of the images do quite what I want, so I was planning on taking a vanilla Ubuntu image and using cloud-init to modify it. I'd like to be able to ...
1
vote
0answers
61 views

echo colon to file in cloud-init [closed]

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' ...
2
votes
1answer
175 views

How do I install Terraform libvrit_cloudinit?

I have searched all day trying to find a document on how to install the libvirt_cloudinit provider for Terraform. When I execute a terraform plan I encounter this error message: Error: ...
2
votes
1answer
768 views

How to provide multiple configs for EC2 node using Terraform and cloud-init?

I need to use several configs on my EC2 node using Terraform. data "template_cloudinit_config" "puppetserver_config" { gzip = true base64_encode = true part { ...
27
votes
2answers
26k views

How to use cloud-init with Terraform?

I am working with Digital Ocean and Terraform and I already can automate the domain, subdomain, network preferences and the host but there is a section called User data that looks like this: The ...