Failed to establish a new connection: [Errno 101] Network is unreachable

After buiding a customized image using packer-maas i uploaded to it maas then commissioned and then I deployed. After deployment while reboot i am getting " Failed to establish a new connection: [Errno 101] Network is unreachable" error. But this is not happening when i am going with default image provided by maas. Please do help in troubleshooting if someone knows the fix.

The latest versions of cloud-init are broken in different ways. I suggest to use an old package when you build the image

we are already using downgraded cloud init version only

what version are you using?

root@maasregiond:/home/maasregiond# packer version
Packer v1.12.0

I mean the version of cloud-init

cloud init version is 23.1.2

That one should work. If you can login to the machine and execute ‘cloud-init collect-logs’ and upload the zip we can take a look