Now I want to update the .bashrc to add an alias to the disposable VM. I tried this by adding the alias to /etc/skel/.bashrc in the template VM. But when I launch instances of the disposable VM, the .bashrc file hasnāt changed. I tried shutting down the template VM, shutting down my entire PC.
How can I update the .bashrc file for all new instances of the disposable VM?
It cant, for the reason you give.
/etc/skel is only used when a qube is created from the template. In
this case, when the qube used as disposable template was created.
Subsequent changes in /etc/skel in the template are not seen by
existing qubes.
Make the change in the disposable template and it will be picked up by
all the disposables.
I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.
No it happens in-qube as part of the initialization of its āprivateā volume by qubes-mount-dirs.service, usually during the qubeās first startup. If you never start the disposable template (or if you deliberately revert the āprivateā volume back to empty contents after starting it) then the initialization has to happen during the DisposableVM startup, and in that case it will apply /etc/skel from the disposable templateās TemplateVM.