Marian
Marian

Reputation: 150

uninstall, remove or disable cloud-init on centos

I installed cloud-init on centos 6.4 using command yum install cloud-init. But now I want to completely get rid of it, or if it is impossible to at least disable. I looked through internet but failed to find any solution.

Could you suggest how the installed cloud-init could be eliminated from centos?

Thank you

Upvotes: 2

Views: 17403

Answers (2)

Pierz
Pierz

Reputation: 8168

The way to disable it is:

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

And/or set cloud-init=disabled on the kernel command line if it's enabled at boot time. See the cloud-init docs for details on the boot stages.

Upvotes: 4

Alexander Tolkachev
Alexander Tolkachev

Reputation: 916

You can use

yum remove cloud-init

But it will remove only cloud-init, all installed dependencies will stay on your system.

Upvotes: 2

Related Questions