I'm using Ubuntu 14.04 image as my base box for vagrant. Unfortunately this base box contains cloud-init which causes many problems during starting-up the machine: https://github.com/mitchellh/vagrant/issues/3860
I'm not using my machine in the cloud so I don't really need this. I though typing:
sudo apt-get remove cloud-init
will solve my problems but the machine still spend about 3 minutes on startup trying to configure something I don't need.
I can see there a a number of cloud-init related files in /etc/init
(for example cloud-init.conf
, cloud-final.conf
, cloud-config.conf
etc). I could delete them but I'm not sure if this is safe.
I've also installed rcconf
to check all starup scripts but I can't find anything related to cloud-init there. Any ideas?
Best Answer
According to the cloud-init docs the way to disable it is:
And/or set
cloud-init=disabled
on the kernel command line if it's enabled that way.