{"id":7915,"date":"2019-08-20T17:20:06","date_gmt":"2019-08-20T09:20:06","guid":{"rendered":"http:\/\/rmohan.com\/?p=7915"},"modified":"2019-08-20T17:21:17","modified_gmt":"2019-08-20T09:21:17","slug":"how-to-disable-cloud-init-in-a-rhel-cloud-image","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=7915","title":{"rendered":"How to disable Cloud-Init in a RHEL Cloud Image"},"content":{"rendered":"\n<p>So this one is pretty simple. However, I found a lot of misinformation along the way, so I figured that I would jot the proper (and most simple) process here.<\/p>\n\n\n\n<p><strong>Symptoms<\/strong>: a RHEL (or variant) VM that takes a very long time to boot. On the VM console, you can see the following output while the VM boot process is stalled and waiting for a timeout. Note that the message below has nothing to do with cloud init, but its the output that I have most often seen on the console while waiting for a VM to boot.  <\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>[106.325574} random: crng&nbsp;init done<\/p><\/blockquote>\n\n\n\n<p>Note that I have run into this issue in both OpenStack (when booting from external provider networks) and in KVM.<\/p>\n\n\n\n<p>Upon initial&nbsp;boot of the VM, run the command below.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>touch&nbsp;\/etc\/cloud\/cloud-init.disabled<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"\n<p>So this one is pretty simple. However, I found a lot of misinformation along the way, so I figured that I would jot the proper (and most simple) process here.<\/p>\n<p>Symptoms: a RHEL (or variant) VM that takes a very long time to boot. On the VM console, you can see the following output [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/7915"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7915"}],"version-history":[{"count":2,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/7915\/revisions"}],"predecessor-version":[{"id":7917,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/7915\/revisions\/7917"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7915"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}