Questions tagged [cloud-init]

The tag has no usage guidance.

1
vote
0answers
21 views

Ubuntu Partition Volume best practices, how to do it using cloud-init.yml + Azure [closed]

Is it possible to create disks and partitions during Ubuntu VM build process using cloud-init.yml file? Basically, I am trying to keep /home, /var and /tmp on a different disk/partition as ...
1
vote
2answers
149 views

When using cloud-init, what order are the users created in?

I am using cloud-init to initialize a RHEL Atomic Host VM. I have the following as my user-data file: #cloud-config groups: - ourgroup users: - name: muser primary_group: ourgroup ...
-3
votes
1answer
413 views

Rename network interface ubuntu on instance boot cloud-init

I have two network interfaces- eth0 and eth1 on the Ubuntu image I am building. I want to create cloud instances from that image. For every cloud instance it creates, every instance will have those ...
0
votes
1answer
97 views

How to boot after partitioning

I have an ubuntu server. Via cloud-init I make partitions. When I restart my server, it would not come up again. I am sure I miss one command to tell the system which partition should be used for ...
2
votes
0answers
92 views

Using cloud-init to modify application properties used by init scripts

I previously asked this question about ordering of init scripts. It turns out that this isn't the solution I need (or possibly even the correct question to ask) - it was phantom success. My system is ...
1
vote
1answer
965 views

Order of execution for cloud-init-local on AWS Linux

I am attempting to create a new EC2 instance and I am supplying user-data to the instance at create time. My user-data executes some bash commands that modify the parameters of a properties file for ...
1
vote
1answer
569 views

How to setup MySQL with cloud-init?

How can I do this? #cloud-config users: - name: dev ssh-authorized-keys: - ssh-rsa AB3NzaC1yc... sudo: ['ALL=(ALL) NOPASSWD:ALL'] groups: sudo shell: /bin/bash packages: - ...
49
votes
5answers
52k views

How to disable `apt-daily.service` on Ubuntu cloud VM image?

The Ubuntu 16.04 server VM image apparently starts the "apt-daily.service" every 12 hours or so; this service performs various APT-related tasks like refreshing the list of available packages, ...