Hello Sonik Laroiya,
Welcome to the MS Q&A forum.
Besides what Tushar Kumar already mentioned above, I'd recommend to take a look on the Public Microsoft tutorial "Prepare a CentOS-based virtual machine for Azure" to identify the missing preparation steps which would potentially affected booting or connectivity to the newly created Virtual Machine from the custom image.
Sincerely,
Olga Os.