I am trying to use the rc.local to launch my startup script. If I open terminal in my fedora template and navigate to the directory /rw/config/ and then type ./rc.local it starts my script perfectly even though it fails because it doesn’t have any net settings. However, any vm based on this template when started does nothing.
So the changes in the template aren’t carrying over to the VM’s because nothing happens when they start. If I navigate to the started VM /rw/config/ directory and the cat the rc.local file, nothing is there, nor are my script files in the directory.
I pretty new to Qubes so I am obviously misunderstanding something.
I searched for rc.local but found nothing helpful for me. The permissions of the file are as follows:
rc.local is not inherited from the template.
If you want some script to run at boot in template based Qubes, then
you can set it up in the template, perhaps using systemd. That will be
inherited in qubes using the template.
I never presume to speak for the Qubes team.
When I comment in the Forum or in the mailing lists I speak for myself.