Questions tagged [cloud-config]

18 questions
0
votes
1 answer

Cloud-init / cloud-config to install node.js

From reading the cloud-init docs (https://cloudinit.readthedocs.io/en/latest/topics/modules.html#apt-configure), it appears that this user-data should add the Nodesource source and key for apt, and install Node v18: apt: sources: nodejs: …
Doug Reeder
  • 101
  • 2
0
votes
0 answers

My cloud config template file does not seem to be working when I use it to boot up a droplet in Digital Ocean?

I'm using Terraform to spin up a DO droplet, using an Ubuntu and Docker image. Checkout below: resource "digitalocean_droplet" "web" { image = "docker-20-04" name = "web" region = "nyc3" size = "s-1vcpu-1gb" ssh_keys =…
andres
  • 101
  • 1
0
votes
1 answer

How to pass a cloud config to LXD?

I've been to countless sites including this one, trying to figure out how to make LXD run a cloud-config when I launch my LXD container. Some places recommend setting up a profile (didn't work). Others recommend redirecting a YAML file into the lxc…
Karl
  • 239
  • 1
  • 3
  • 8
1
2