mirror of
https://github.com/tasket/Qubes-VM-hardening.git
synced 2024-10-01 06:35:42 -04:00
script fixes
This commit is contained in:
parent
244cb77b78
commit
1c7b944b3c
@ -55,6 +55,7 @@ if qsvc vm-boot-protect-root && is_rwonly_persistent; then
|
||||
|
||||
# Check hashes
|
||||
checkcode=0
|
||||
echo >/tmp/vm-protect-sum-error
|
||||
echo "File hash checks:" >/tmp/vm-protect-sum-error
|
||||
for vmset in vms.all $vmname; do
|
||||
if [ -f $defdir/$vmset.SHA ]; then
|
||||
@ -121,11 +122,11 @@ if qsvc vm-boot-protect-root && is_rwonly_persistent; then
|
||||
cp -af "$defdir/$vmset/rw/*" $rw
|
||||
fi
|
||||
|
||||
# Keep configs invisible at runtime...
|
||||
rm -rf $defdir/*
|
||||
|
||||
done
|
||||
|
||||
# Keep configs invisible at runtime...
|
||||
rm -rf $defdir/*
|
||||
|
||||
fi
|
||||
|
||||
make_immutable
|
||||
|
Loading…
Reference in New Issue
Block a user