I am trying to make my vpn config and password file in /etc/openvpn persistent, so I can run openvpn as a service and it will connect on boot up.
I tried as described here (Qubes 4): https://www.qubes-os.org/doc/bind-dirs/
..unfortunately the files disappear after the reboot.
Any ideas? How else could I solve my task?
Thanks for every help
Roger
I am trying to make my vpn config and password file in /etc/openvpn persistent (...)
I tried as described here (Qubes 4): https://www.qubes-os.org/doc/bind-dirs/
..unfortunately the files disappear after the reboot.
I understood that TemplateBasedVM was the AppVM. However, I started the template VM, made the changes to bind-dirs, rebooted the template VM. Then started the app VM, copied the config files and rebooted the app VM, unfortunately the files where gone after the reboot.
Don't make the changes in the template.
bind-dirs is intended to work in the AppVM, (as I think you originally
tried).
You need to configure bind-dirs and restart the qube, *then* make any
changes that you want to make in /etc/openvpn.
You can check that the changes are there in /rw/bind-dirs/etc/openvpn.