Questions tagged [cloud-init]
131 questions
1
vote
0 answers
Error installing cloud-init and cloud-utils package
I have a rhel 6.6 box with python 2.6 installed on it.
I have configured epel repo. Now when i do a
"yum install -y cloud-utils cloud-init parted git", it gives me the following error.
--> Finished Dependency Resolution
Error: Package:…

Gaurav Parashar
- 113
- 1
- 8
1
vote
0 answers
How do I setup my cloud-init instance to fully conform to that of amazon-ec2 platform?
How do I setup my cloud-init instance to fully conform to that of amazon-ec2 platform? (shown @ http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html)
We already made the necessary configurations as instructed for ec2, but…

Jadocus Kwak
- 11
- 1
1
vote
1 answer
Disabling cloud-init if metadata server cannot be reached
I'm trying to get cloud-init to not take any action if the metadata server cannot be reached. If cloud-init ignores the error and continues executing (which seems to be the default configuration), then it resets the host SSH key, administrative user…

perennate
- 86
- 1
- 4
1
vote
1 answer
Azure VM crashed and I recovered the VHD however cloud-init prevents me from booting it locally
One of our VM's suddenly was stuck at 100% CPU load and was unable to be reached from SSH. Rebooting did not help, nor did creating a new VM from the existing VHD.
I downloaded the VHD. However, I'm unable to boot it since it gets stuck on…

ndsc
- 111
- 1
1
vote
1 answer
where do i put the cloud-config.txt file
I have created an amazon ec2 instance image (AMI) that I want to use when launching new instances but I don't understand where to store my cloud-config.txt file so that it gets executed during the first boot.
I saw that you can pass that file using…

chrisweb
- 123
- 6
1
vote
1 answer
Using cloud-init to install a specific package version
In the cloud-init documentation, it says it is possible to install packages with something like
packages:
- nginx
- php
However, I have not found a way to specify a specific version number for a package, e.g. nginx v1.6.0, or PHP 5.5.12
Is this…

SteveEdson
- 1,539
- 3
- 12
- 23
1
vote
2 answers
Cloud-init not executing on Fedora 16
Cloud init does not come with the base instance I uploaded from Amazon(Fedora 16 x86_64), so I installed using
sudo yum install cloud-init
Now when I launch this instance via
ec2-run-instance -f my_bash_script
It copies my_bash_script to…

Ed Sullivan
- 111
- 5
1
vote
2 answers
What is the difference between Cloud-Init and Autoinstall?
So I have been trying to essentially install Nixos from the official site with a Cloud-Init for Ubuntu Server 22.04. I want to really understand how to install packages that I potentially might have to compile or other ways of installing packages…

Definity
- 127
- 6
1
vote
1 answer
Cloud Init not working on Vultr
I am new with Cloud-Init, I am trying to install tailscale and Docker with it, and some other packages
I tried several times and no luck and no error logs.
What I am doing wrong?
Here is my script:
#cloud-config
users:
- name: ubuntu
…

Rodrigo
- 45
- 2
- 8
1
vote
1 answer
Password of new user with LXD and Cloud-init
I'm trying to create a profile to automate the creation of a container, but I'm having trouble with cloud-init. For some reason the password is not being set for the user and is also not being added as a sudoer. Here is the YAML:
config:
…

Matheus Saraiva
- 113
- 3
1
vote
0 answers
rhel - cloud-init changes SSH config
We want to use cloud-init to resize the rootfs in our pipeline. The resize itself works fine, but it seems like the default cloud-init config (/etc/cloud.cfg) changes also other settings like SSH for example.
We really dont want that, but there is…

MSC
- 11
- 1
1
vote
1 answer
Debian 11 dpkg-reconfigure cloud-init does not run the graphical menu
I'm trying to run dpkg-reconfigure cloud-init on Debian 11
After I run the command, this shows up multiple times in the terminal:
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME =…

Philip Scot
- 15
- 4
1
vote
0 answers
Not able to setup administrator password with cloudbase-init
i try to install a windows server 2019 with cloudbase-init. I did the following steps to do this:
Install a Windows Server 2019 with Desktop Experience
Install Cloudbase-Init
Added the following lines to "Cloudbase-init.conf" and…

David Koenig
- 11
- 2
1
vote
2 answers
Openstack ubuntuVM SSH public key Permission denied on first boot
I am deploying Openstack(I tried victoria and ussuri) with kolla-ansible on 3 CentOS 8 Nodes (1=Control+Compute,2 and 3=Compute). Deployments works fine without any problems but when I create a new VM with an ubuntu image…

Michael
- 11
- 2
1
vote
3 answers
How do I download and install a regular DPKG package in a cloud-init script?
I'm spinning up lightweight containers on a Linux Host using LXD/LXC.
The sole purpose of these containers is to host "Dotnet & Dotnet core apps"
For a while I've been using Ansible, but recently I found that I could actually embed an init script…

shawty
- 293
- 4
- 15