photo lineviral_1.png

Remove Cloud-Init From Ubuntu

Cloud images are operating arrangement templates together with every event starts out equally an identical clone of every other instance. It is the user information that gives every cloud event its personality together with cloud-init is the tool that applies user information to your instances automatically. Cloud-init is the defacto multi-distribution packet that handles early on initialization of a cloud instance. However, it’s non required for installation where yous are non going to leverage it’s capabilities or yous are non going to role it at all crusade there’s but no mesh connectivity to that system. Also cloud-init contributes to long kicking times together with confusing output on the terminal. For people similar who likes to bring their arrangement kicking upwards super fast together with precisely create something, it’s mayhap best to but take away cloud-init. Following instructions are uncomplicated plenty together with plant every time: Cloud images are operating arrangement templates together with every event starts out equally an identical  Remove cloud-init from Ubuntu


Wait for VM to kicking together with hence login. If you’re sudo user, hence yous tin but sudo yourself. Issue the next ascendency to build clean 90_dpkg.cfg file config (set to None).


echo 'datasource_list: [ None ]' | sudo -s tee /etc/cloud/cloud.cfg.d/90_dpkg.cfg

Once done, hence yous tin purge cloud-init. After purge but take away the cloud-init folders together with reboot. Cloud images are operating arrangement templates together with every event starts out equally an identical  Remove cloud-init from Ubuntu


sudo apt-get purge cloud-init - y
sudo rm -rf /etc/cloud/; sudo rm -rf /var/lib/cloud/
reboot

That’s it, simplest mode to take away cloud-init from Ubuntu :)


Buat lebih berguna, kongsi:
close