mirror of
https://github.com/tommytran732/QubesOS-Scripts
synced 2024-12-22 07:01:33 -05:00
Enabling discard and fstrim
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
37c98cb5da
commit
181c86888a
6
dom0.sh
6
dom0.sh
@ -26,4 +26,8 @@ echo "@anyvm @anyvm ask,default_target=vault" | sudo tee /etc/qubes-rpc/policy/
|
||||
#Enabling VMAuth - if you want to get the prompt you will still need to configure the guest VMs tho
|
||||
echo "/usr/bin/echo 1" | sudo tee /etc/qubes-rpc/qubes.VMAuth
|
||||
sudo chmod u+x /etc/qubes-rpc/qubes.VMAuth
|
||||
echo "@anyvm dom0 ask,default_target=dom0" | sudo tee /etc/qubes-rpc/policy/qubes.VMAuth
|
||||
echo "@anyvm dom0 ask,default_target=dom0" | sudo tee /etc/qubes-rpc/policy/qubes.VMAuth
|
||||
|
||||
#Enabling discard and fstrim
|
||||
sudo sed -i 's/issue_discards = 0/issue_discards = 1/g' /etc/lvm/lvm.conf
|
||||
sudo systemctl enable fstrim.timer
|
||||
|
Loading…
Reference in New Issue
Block a user