People who code: we want your input. Take the Survey

Questions tagged [cloud-config]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
26 views

Set Ubuntu login credential from Openstack Horizon dashboard

I am trying to create password for Ubuntu Instance I want to use Horizon dashboard to initiate Ubuntu credential. Using focal-server-cloudimg-amd64 Tried using the below in Horizon Customization ...
0
votes
1answer
1k views

Found unexpected end of stream cloud-config

So this is my cloud-config #cloud-config coreos: etcd2: discovery: "https://discovery.etcd.io/tocken" advertise-client-urls: "http://$private_ipv4:2379" initial-advertise-peer-urls: "...
1
vote
1answer
445 views

Systemd units: [Install] vs. command: start (cloud-config)

I'm configuring systemd in a cloud-config file for CoreOS. If I understand this correctly, I have two ways of starting a unit at boot: Alternative 1, use the [Install]-section (as described in ...
1
vote
1answer
108 views

CoreOS: How to serve different cloud-config “profiles”

I am just getting started with CoreOS, I've been following the step-by-step tutorial about setting up Kubernetes, but I seem to be missing a very basic concept. As I am using Bare Metal, I use the ...
4
votes
1answer
6k views

How can a cloud-config script copy a file to a server?

How can a cloud-config script copy a file to a server? write_files requires the file content in the script. How can I specify an external file that contains the content?
1
vote
1answer
547 views

Is there a way to configure journald.conf through cloud config on CoreOS?

Try to find a way to automatically set SystemMaxUse for systemd-journald.service. I knew I can set it in /etc/systemd/journald.conf manually. But it will restore to default after CoreOS updates in my ...
0
votes
1answer
235 views

How to configure apache via cloud-config?

We have a cloud-config script to do some work on a server right after creation. (Digital Ocean droplet) I want the script to modify the default behavior for apache, setting the AllowOverride to All (...
0
votes
2answers
167 views

cloud-config file not loaded and units not started on machine created from AMI

We are working on a code that does the following using terraform (on AWS): Creates a core-os instance (1) with the cloud-config yaml file we provided Creates an AMI from that instance The process ...
1
vote
1answer
754 views

How do I ensure that a CoreOS cloud-config service is able to download files?

I am defining a one-shot service in my CoreOS cloud-config, but it is failing due to not being able to download files from Google Cloud Storage (via wget): Apr 13 11:09:56 staging-node-ys9y.c....
2
votes
1answer
95 views

Why doesn't CoreOS start etcd2 automatically, even though my cloud-config says so?

I am running CoreOS beta 991.1.0 on a Google Compute Engine instance, where cloud-config is configured via the user_data metadata variable. My cloud-config looks like this: #cloud-config write_files: ...
1
vote
1answer
148 views

How do I see active cloud-config on CoreOS running on GCE?

I've got CoreOS beta 991.1.0 running on Google Compute Engine, and cloud-config is applied via the GCE instance's user_data metadata variable. How can I print the currently active cloud-config (for ...
2
votes
1answer
714 views

Cloud-Config - Hashed Password Being Set Incorrectly

I'm provisioning an Ubuntu 14.04 server with Digital Ocean and am using Cloud-Config in the user data field to do some initial setup. The issue I am having is creating a new user and setting a ...
0
votes
1answer
982 views

Can cloud-config's write_files control whether a newline is appended to the file?

I'd like to use cloud-config in user-data on AWS to write a file, say /etc/myfile. My experimentation so far seems to suggest that if the write_files block is the last bit of the user-data, then no ...
1
vote
1answer
467 views

Cloud-config resize filesystem fails

So, my adventure started like this: I had an OpenSUSE 13.1 VM, and I wanted to upgrade to 13.2, so one of the main differences between the 2 community amis (13.1 - `` and 13.2 -ami-3a6cc64d) was that ...
1
vote
1answer
561 views

Duplicate host records in Foreman when VM is created by Foreman in OpenStack

I managed to connect Foreman and OpenStack, so that I can create VMs in OpenStack using Foreman web interface. I am using cloud-init, or how Foreman calls it, user data provisioning template in order ...
2
votes
1answer
1k views

coreos cloud-config unrecognized key

I am trying to launch an aws ec2 instance with coreos, providing a cloud-config, which just ignores some parts like putting an rsa_private_key or runcmd. Anyway, the hostname has been set successfully ...