This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Ubuntu 20.04 lts - cloud-init abschalten
#1
Cloud-Init auf Ubuntu Server mag ich nicht haben - Einfach weg damit!

Ubuntu 20.04 lts - cloud-init einfach abschalten - Benötige ich immer wieder.

Nach der Installation laufen meine Server ohne "cloud-init".

Ubuntu "cloud-init" abschalten:

sudo touch /etc/cloud/cloud-init.disabled

Dienste abschalten:

sudo dpkg-reconfigure cloud-init

   

Deinstallation und löschen:

sudo dpkg-reconfigure cloud-init

sudo apt-get purge cloud-init

sudo rm -rf /etc/cloud/ && sudo rm -rf /var/lib/cloud/

Server NEU starten:

sudo reboot

Hinweis:

Dieser Vorgang könnte Ihren Rechner unbrauchbar machen!

log:

Last login: Thu Mar  3 13:14:22 2022 from ganz weit weg
nascul@dragonland:~$ sudo touch /etc/cloud/cloud-init.disabled
nascul@dragonland:~$ sudo dpkg-reconfigure cloud-init
nascul@dragonland:~$ sudo apt-get purge cloud-init
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following packages were automatically installed and are no longer required:
eatmydata libeatmydata1 python3-importlib-metadata python3-jinja2 python3-json-pointer
python3-jsonpatch python3-jsonschema python3-markupsafe python3-more-itertools
python3-pyrsistent python3-zipp
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
cloud-init*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 2476 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 72240 files and directories currently installed.)
Removing cloud-init (21.4-0ubuntu1~20.04.1) ...
Processing triggers for man-db (2.9.1-1) ...
(Reading database ... 71903 files and directories currently installed.)
Purging configuration files for cloud-init (21.4-0ubuntu1~20.04.1) ...
dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed
Processing triggers for rsyslog (8.2001.0-1ubuntu1.1) ...
nascul@dragonland:~$ sudo rm -rf /etc/cloud/ && sudo rm -rf /var/lib/cloud/
nascul@dragonland:~$ sudo reboot
Connection from ganz weit weg closed by remote host.
Connection from ganz weit weg closed.
nascul@home:~$
All done!
Zitieren


Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste