Report this

What is the reason for this report?

Is adding an external repo via user-data/cloud-init on Ubuntu 24 droplet creation supported?

Posted on September 21, 2024

I’m trying to add a repo source to my cloud init with the following:

apt:
  preserve_sources_list: true
  sources:
    grafana.list:
      source: "deb https://apt.grafana.com stable main"
      key: "https://apt.grafana.com/gpg.key"

It doesn’t seem to have an effect. Does anyone know if DO support this type of configuration in cloud-init?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.