On 2017-05-10 00:22, Chris Laprise wrote:
On 05/09/2017 10:09 AM, atlahua wrote:
Hi there!

I need to be able to start DVM's from different templates
simultaneously. This feature is not available as far as I know.
For this reason I am trying the next best thing which is to make /home
and /usr/local to make sure that nothing is left when I power down a
standard Template based VM.

How can I achieve that?

Thnx in advance for your contributions,
A.

I've created a detection and control service for VM private volumes
that makes /rw/usrlocal, /rw/config and /rw/bind-dirs non-persistent
to help VMs fend off malware infestation. It acts at boot time before
/rw (and thus /home) is brought online.

Its script could easily be adapted to work with /rw/home as well by
adding that path to "$rootdirs" and a command like "mkdir -p
$rw/home/user" just before the make_immutable part.

https://github.com/tasket/Qubes-VM-hardening/tree/systemd

--

Chris Laprise, [email protected]
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB  4AB3 1DC4 D106 F07F 1886

______________________________________________________________-
Hi Chris.
Thanks for your answer.
There is one thing I do not understand though: by making those files or folders inmutable you stop them from being modified. What I need is for them to load from the template every time the template based VM starts. I am relatively new to linux and to scripting so forgive me if I am missing some basic and fundamental concepts here.
Regards,
Atlahua

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/5fe5c518246d8f20c5cbd37549dc3a85%40krutt.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to