mustard 2025-10-20 15:44:13 +02:00
parent 91d1b9df07
commit 37bf73a3ab
3 changed files with 28 additions and 0 deletions

View file

@ -44,3 +44,10 @@ pull/%:
qvm-run -p $(GUEST) "cd $(GUEST_REPO) && git update-ref refs/remotes/dom0/$* $*" </dev/null
@echo "updated branch $* from $(GUEST)"
apply:
echo "Applying salt states"
pushd ./guardian
sudo qubesctl top.enable guardian
sudo qubesctl --show-output --all state.apply
popd

18
guardian/guardian-vms.sls Normal file
View file

@ -0,0 +1,18 @@
create-guardian-template:
qvm.vm:
- name: guardian-template
- clone:
- source: fedora-42
- label: black
- prefs:
- netvm: ""
create-app:
qvm.vm:
- name: app
- present:
- template: guardian-template
- label: green
- prefs:
- template: guardian-template
- netvm: ""

3
guardian/guardian.top Normal file
View file

@ -0,0 +1,3 @@
base:
dom0:
- guardian-vms