I create a instance with CentOS-7-x86_64-GenericCloud.qcow2. And then, i listed the modules with the 'chkconfig' command. In this list cloud-init module and other modules are on. When cloud-init is on, i tried to reboot the instance. It takes almost 5 min. It is too long. How can i resolve this problem?
It could be a network problem that prevents cloud-init to execute correctly. You can check it analysing cloud-init logs at /var/log/cloud-init.log
and /var/log/cloud-init-output.log
.
Which hypervisor/cloud are you working with?