Locked out of ssh.
I accidentally set the firewall rules using ufw on my vm and denied access to port 22, 443, 80 etc.
I've tried to create a console connection but it's not working out as I do not have a username and password.
I've tried the a serial connection whereby i can set the password but I can't seem to access the grub menu.
A way to bypass/ disable ufw rules.
Version (include the version you are using, if applicable):
ampere based vm
Code Snippet (add any code snippets that support your topic, if applicable):