27 cards
View
Repeats
Claus-Theodor Riegg
6 months
Repeats
Claus-Theodor Riegg
1 year
Andreas Herz
2 months
Repeats
Claus-Theodor Riegg
2 years
Repeats
Claus-Theodor Riegg
2 years
Repeats
Claus-Theodor Riegg
1 year
Claus-Theodor Riegg
3 months
Repeats
Claus-Theodor Riegg
4 months
Claus-Theodor Riegg
1 year
Claus-Theodor Riegg
1 year
Claus-Theodor Riegg
1 year
Claus-Theodor Riegg
1 year
Claus-Theodor Riegg
2 years
Claus-Theodor Riegg
2 years
Posted almost 2 years ago. Visible to the public.

How to remove cloud init from ubuntu

If you're trying to start a cloud-init based Ubuntu VM with KVM you will suffer long boot times and confusing output on the terminal. If you want to get rid of it you need to remove cloud-init.

  1. wait until the VM boots
  2. login
  3. echo 'datasource_list: [ None ]' | sudo -s tee /etc/cloud/cloud.cfg.d/90_dpkg.cfg
  4. sudo apt-get purge cloud-init
  5. sudo rm -rf /etc/cloud/; sudo rm -rf /var/lib/cloud/
  6. reboot

Owner of this card:

Avatar
Claus-Theodor Riegg
Last edit:
over 1 year ago
by Andreas Herz
Keywords:
ops
This website uses cookies to improve usability and analyze traffic.
Accept or learn more