How to setup static IP in DispVM sys-net?

Hi, I’m having trouble configuring a static IP in sys-net(DispVM in my case). I thought creating a custom template for this Qube would allow me to set up a tailored sys-net configuration. I tried copying the NetworkManager config file from /rw/config/NM-system-connections/config_name in sys-net to the same path in the template. However, after rebooting, the sys-net DispVM didn’t apply the configuration (the file was present both in the template and sys-net). What’s the correct way to ensure NetworkManager uses the static IP settings properly while still keeping it as a DispVM? I see somebody had exact same problem, but there are no answers.

Here you are :slight_smile:

2 Likes

The following guide presents an elegant, qubes specific, way to implement a static IP in a disposable sys-net.

3 Likes

Thank you both for your answers. I likely configured something incorrectly, as when I used the instruction (modified for static IP setup) provided by Tezeria, everything functioned properly. Honestly, I do not perceive a distinction between using qvm-features to retrieve Wi-Fi password/SSID/static IP configuration and storing the same details in plain text within an rc.local script or other configuration file.