)]}'
{"diskimage_builder/elements/cloud-init/post-install.d/20-enable-cloud-init":[{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"3aca1d63e2f2a4c8dabc3def1406098657ad9cef","unresolved":false,"context_lines":[{"line_number":13,"context_line":"    rc-update add cloud-init-local boot"},{"line_number":14,"context_line":"    rc-update add cloud-init default"},{"line_number":15,"context_line":"# fedora"},{"line_number":16,"context_line":"elif [[ \"${DISTRO_NAME}\" \u003d\u003d \"fedora\" ]]; then"},{"line_number":17,"context_line":"    systemctl enable cloud-config.service"},{"line_number":18,"context_line":"    systemctl enable cloud-final.service"},{"line_number":19,"context_line":"    systemctl enable cloud-init-local.service"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"9fdfeff1_c0420869","line":16,"updated":"2019-03-04 22:44:59.000000000","message":"Assuming the service names don\u0027t differ across distros can we make this a check for systemctl and then if so enable the services? Mostly thinking about rhel here since debuntu should enable the services by default.","commit_id":"1d6f3c539c16a42d0f78102eb81d14ac00a67c9e"},{"author":{"_account_id":6593,"name":"Dirk Mueller","email":"dirk@dmllr.de","username":"dmllr"},"change_message_id":"f5a6ac56b348b0aab5f60478c6c860229dfbfc5b","unresolved":false,"context_lines":[{"line_number":13,"context_line":"    rc-update add cloud-init-local boot"},{"line_number":14,"context_line":"    rc-update add cloud-init default"},{"line_number":15,"context_line":"# fedora"},{"line_number":16,"context_line":"elif [[ \"${DISTRO_NAME}\" \u003d\u003d \"fedora\" ]]; then"},{"line_number":17,"context_line":"    systemctl enable cloud-config.service"},{"line_number":18,"context_line":"    systemctl enable cloud-final.service"},{"line_number":19,"context_line":"    systemctl enable cloud-init-local.service"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"9fb8cfa7_e8e3ca03","line":16,"in_reply_to":"9fdfeff1_c0420869","updated":"2019-06-27 21:08:03.000000000","message":"could be done for opensuse as well, same problem there.","commit_id":"1d6f3c539c16a42d0f78102eb81d14ac00a67c9e"},{"author":{"_account_id":6593,"name":"Dirk Mueller","email":"dirk@dmllr.de","username":"dmllr"},"change_message_id":"f5a6ac56b348b0aab5f60478c6c860229dfbfc5b","unresolved":false,"context_lines":[{"line_number":17,"context_line":"    systemctl enable cloud-config.service"},{"line_number":18,"context_line":"    systemctl enable cloud-final.service"},{"line_number":19,"context_line":"    systemctl enable cloud-init-local.service"},{"line_number":20,"context_line":"    systemctl enable cloud-init.service"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"    # cloud-init uses hostnamectl to set the hostname, which requires that the"},{"line_number":23,"context_line":"    # dbus socket exists. Fedora does not enable this by default so it must"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"9fb8cfa7_68c11a54","line":20,"updated":"2019-06-27 21:08:03.000000000","message":"I believe this is wrong, we should enable the cloud-init.target (which depends on these services) instead. this way the stages are run only when target detection has figured out that they\u0027re needed to be run.","commit_id":"1d6f3c539c16a42d0f78102eb81d14ac00a67c9e"}]}
