cloud-init is the Ubuntu package that handles early initialization of a cloud instance. It is installed in the Ubuntu Cloud Images and also in the official Ubuntu images available on EC2. (Ubuntu Docs)

learn more… | top users | synonyms

1
vote
1answer
9 views

How can I reload dhclient without restarting network?

I am using ubuntu 14.04 on ec2 instance, I am changing dhcp settings as part of the provisioning process, and I cant find a way to reload the dhclient. Infact, theres no way to restart network on ...
0
votes
0answers
21 views

How can I wait for ipv6 availability in a cloud-init script, to launch a docker box?

I'm using ubuntu v12.04 in AWS, using an AMI that's nothing more than docker and the core ubuntu operating system. The upstart script packaged with docker.io starts on ipv4 availability: start on ...
0
votes
0answers
24 views

Upstart script on first boot with cloud-init

I'm trying to launch an EC2 instance where I need to perform some initial setup of the instance (download and install packages, configure directories, etc.) as well as start a web service. The initial ...
0
votes
0answers
20 views

I can't reach a allocated MAAS node through ssh

I'd like to reach a MAAS node through ssh. When I installed the ubuntu 14.04 using the fast installer, ip address was not assigned to the MAAS node. So it is not reachable. "Route Info Failed" ...
1
vote
0answers
14 views

How can I upgrade cloud-init?

I am working on Ubuntu 12.04 with cloud-init 0.6.3-0ubuntu1 My question is can I upgrade it to 0.7.5-0ubuntu1.1?
2
votes
1answer
632 views

Fresh Install Ubuntu 14.04 Server Slow Boot due to failure to connect 169.254.169.254

Have just installed Ubuntu Server 14.04 and have no VM instances operational. Boot time takes an eternity and on pressing F1 during loading this is what I see, the continued connect attempts and ...
0
votes
1answer
279 views

Ubuntu 12.04 Cloud Images Hang on First Boot in Virtualbox

I've run across an annoying bug with the recent official builds of Precise (both 32 and 64 bit versions) for virtualbox found here: http://cloud-images.ubuntu.com/vagrant/precise/current/ When these ...
0
votes
0answers
28 views

How can cloud-init access files passed as --file option during boot up

My image is cloud enabled and I pass user-data script with config-drive=true which cloud init is able to execute during boot up. I also need to pass a separate file which is required for one of the ...
1
vote
0answers
180 views

Installing xubuntu-desktop breaks cloud-init (routing to 169.254.169.254)

Run Ubuntu Server 12.04 (or a later version) in a VM. Reboot. Cloud-init continues to work. Then install xubuntu-desktop. Then reboot; you will see that there is now a broken route to the ...
1
vote
1answer
1k views

How can I disable cloud-init?

I have fully-configured instance and create image from them for autoscaling group. When autoscaling setup new instance from this image, it calls cloud-init. And cloud-init changes hostname and breakes ...
3
votes
1answer
365 views

Is it possible to install a newer version of cloud-init on Lucid?

I'm using EC2 user-data to configure certain services before they are launched on newly spun up instances. I've been using #cloud-boothook as the beginning of user data, and it worked like a charm on ...
3
votes
1answer
1k views

Where is the usage of Ubuntu cloud guest image on OpenStack documented?

Whenever I set up a devstack or OpenStack deployment, I want to add the latest LTS Ubuntu server image. I succeeded several times in the past and I believe it can be achieved with something like: ...
3
votes
2answers
864 views

cloud-init/cloud-config syntax documentation

I am looking for cloud-init/cloud-config syntax documentation. I have been through https://help.ubuntu.com/community/CloudInit I need to know what all namespace are supported by cloud-init. e.g. ...
1
vote
1answer
1k views

Where are the logs for my user-data script? cloud-init

If I paste a shell script into the user-data box when starting the standard Ubuntu AMI on EC2, I'm using cloud-init, am I not? My question is where does it log the output of such a script? Do I have ...
2
votes
2answers
522 views

Cannot bootstrap due to clout-init “errors running cloud_config [final]: [scripts-user]”

I have installed maas server and configured juju also, And bootstrapped juju for 1st time, which I know will install zookeeper on 1 "ready" state VM available in MAAS. So I observed this ...
2
votes
0answers
356 views

How can I monitor cloud-init for errors, and trigger a script when it fails?

I'm using cloud-init to provision servers in AWS, and would like my servers to send an email when they're done (whether they fail or succeed). For successful cloud-init runs, the solution is trivial. ...
2
votes
2answers
2k views

How to let maas' cloud-init client select internal mirror?

Our maas LAN can't access the internet and has a internal apt-mirror site 192.168.3.6. I changed the mirror set of maas server's snippets/maas_proxy file as follows: d-i mirror/country string ...
2
votes
1answer
3k views

How do I boot Ubuntu Cloud images in KVM?

I'm trying to get an Ubuntu Cloud image running on my local KVM installation. I am downloading the qcow2 image from here: http://cloud-images.ubuntu.com/releases/precise/beta-2/ And using the ...
8
votes
3answers
395 views

Server AMI images don't allow a user to login multiple times

When I log into twice to a new instance of Ubuntu server built for Amazon EC2, both windows will be exactly the same. Anything I type in one is replicated in the other. I never dealt with this when I ...