{"id":59,"date":"2023-09-28T21:58:44","date_gmt":"2023-09-28T14:58:44","guid":{"rendered":"http:\/\/nitirat.ddns.net\/wordpress\/?p=59"},"modified":"2024-05-07T21:27:00","modified_gmt":"2024-05-07T14:27:00","slug":"how-to-disable-cloud-init-in-ubuntu","status":"publish","type":"post","link":"http:\/\/nitirat.ddns.net\/wordpress\/?p=59","title":{"rendered":"How to disable cloud-init in Ubuntu"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Prevent start<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create an empty file to prevent the service from starting<code>&nbsp;sudo touch \/etc\/cloud\/cloud-init.disabled<\/code><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/gist.github.com\/zoilomora\/f862f76335f5f53644a1b8e55fe98320#uninstall\"><\/a>Uninstall<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Disable all services (uncheck everything except \u201cNone\u201d):<code>&nbsp;sudo dpkg-reconfigure cloud-init<\/code><\/li>\n\n\n\n<li>Uninstall the package and delete the folders<code>&nbsp;sudo dpkg-reconfigure cloud-init sudo apt-get purge cloud-init sudo rm -rf \/etc\/cloud\/ &amp;&amp; sudo rm -rf \/var\/lib\/cloud\/<\/code><\/li>\n\n\n\n<li>Restart the computer<code>&nbsp;sudo reboot<\/code><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Prevent start Uninstall<\/p>\n","protected":false},"author":1,"featured_media":119,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[6],"tags":[],"class_list":["post-59","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu"],"_links":{"self":[{"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/59","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=59"}],"version-history":[{"count":1,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/59\/revisions"}],"predecessor-version":[{"id":60,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/59\/revisions\/60"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/media\/119"}],"wp:attachment":[{"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=59"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=59"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=59"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}