Is there a recent implementation of a tmpfs based dispVM?
Just to have links here to related issues, for completeness:
## Disposable qubes
In normal use qubes are created on, and changes written to, the disk. There is also extensive logging and signs of the qube are scattered in a number of places.
Sometimes, you want to create a qube which does not leave these traces.
You can do this relatively simply, by creating a RAM based storage area and using it for a new storage pool.
The qube will persist until the RAM disk is deleted, or the machine is shut down.
A script like this in dom0, will create tmpfs RAM disk, create a new storage pool in that disk, and create a new qube using that pool.
tmp_qubes.sh:
```
#!/bin/bash
mkdir /home/user/tmp
sudo mount -t tmpfs -o size=2G new /home/user/tmp/
qvm-pool add -o revisions_to_keep=1 -o dir_path=/home/user/tmp/ newer file
qvm-create new -P newer -t debian-11 -l purple --property netvm=tor
qvm-run new firefox-esr
```
You can remove the qube, and some of the associated artifacts by script in dom0.
rmtmp_qube.sh:
```
This file has been truncated. show original
These are the most recent links
Moderation note: Duplicate of the linked topic. This is looking like spam @janglingquo_575 , I’ve asked you before to stop creating duplicate topics. This is now an official warning.
2 Likes