Pynq Z1 Wifi Dongle

I have a Ralink wifi dongle and I can connect to my wifi via the Jupyter notebook

from pynq.lib import Wifi
port = Wifi()
port.connect(‘ssid’, ‘pass’)
port.gen_network_file(‘ssid’, ‘pass’)

But how can I configure the system to use wifi instead of the ethernet connection form startup? I want to connect to the Jupyter Notebook and SSH via Wifi not Cable.
In /etc/networks/interfaces.d/wlan0 is already my wlan config, but it doesn’t connect automatically to wifi at boot.

Any hint or ideas. Can’t find relevant information

Please read post

Starting from release 2.6, we will allow users to modify boot.py in /boot folder so that boot.py is run each time you start the board.