Change from DHCP to Static after clean install

What type of hardware are you using: Virtual machine
What YunoHost version are you running: 11.2.30.2
How are you able to access your server: Direct access via physical keyboard/screen

Describe your issue

Yuno is running on 192.168.0.44 but all my routers and ports are configured on 192.168.0.5

If I nano /etc/network/interfaces and change the settings Yuno dies

Could someone be so kind and indicate how I can change this

If I do the Advanced Graphical Install the install gives errors and then installs a normal Debian with desktop GUI

Thanks in advance

Share relevant logs or error messages

No logs

A simple fix was to unplug the LAN cable of the PC the VM-Virtualbox was in and the the Yunohost installer asked for the static IP’s .

When the installer checked enp0s3 I plugged the cable back in and now I am a happy static IP owner