Change keyboard layout


I’m new in VyOS and despite it is a Debian based the commands that I used to change the keyboard layout in a Debian machine don’t work in VyOS.

~# dpkg-reconfigure keyboard-configuration

After chosing the different options in the GUI :

~# service keyboard-setup restart

But the keyboard layout didn’t change

~# cat /etc/default/keyboard


The locale are all in “pt_PT.UTF-8”. No even rebooting the machine the layout changes.
Can you help me please. I’m seaching on Google for a solution since some days ago and until now I didn’t found any that works. It’s very hard to do any kind of laboratory work if the keyboard layout doesn’t match our language.
I’m using VirtualBox and VyOs 1.3.

Thanks a lot.