I am trying to create a simple RED+GREEN firewall in Azure for labs.
I successfully did long time ago with 2.23.x86_64-full-core133, but now it seems impossible to get root access over serial console.
I tried both the one that worked for me in the past (2.23) and latest 2.27, same result.
These are the steps I’m using:
- Create Hyper-V VM.
- Add line at the end of /etc/inittab for ttyS0, so Azure Serial Console connects fine. I didn’t need to do this step in the past.
- Upload VHD to storage account.
- Create a managed disk out of the VHD.
- Create a VM from the managed disk.
I can connect to the green interface from another VM and configure firewall.
The problem is that when trying to log through serial console, the password for root is not accepted anymore, and returns “login incorrect”.
The same behavior occurs creating the VM with an unmanaged disk from the blob storage.