From 1cb78494f3022fe9d808d070507bddf552c64753 Mon Sep 17 00:00:00 2001 From: Casper Date: Wed, 18 Dec 2024 15:21:28 -0700 Subject: Initial commit, new repo --- ssh/create-ssh-qube.top | 6 ++++++ ssh/qvm-app.sls | 11 +++++++++++ ssh/qvm-tmpl.sls | 5 +++++ ssh/tmpl-pkgs.sls | 10 ++++++++++ 4 files changed, 32 insertions(+) create mode 100644 ssh/create-ssh-qube.top create mode 100644 ssh/qvm-app.sls create mode 100644 ssh/qvm-tmpl.sls create mode 100644 ssh/tmpl-pkgs.sls (limited to 'ssh') diff --git a/ssh/create-ssh-qube.top b/ssh/create-ssh-qube.top new file mode 100644 index 0000000..9672258 --- /dev/null +++ b/ssh/create-ssh-qube.top @@ -0,0 +1,6 @@ +user: + dom0: + - ssh.qvm-app + - ssh.qvm-tmpl + tmpl-ssh: + - ssh.tmpl-pkgs diff --git a/ssh/qvm-app.sls b/ssh/qvm-app.sls new file mode 100644 index 0000000..aa5430f --- /dev/null +++ b/ssh/qvm-app.sls @@ -0,0 +1,11 @@ +ssh--create-app-qube: + qvm.vm: + - name: ssh-vps + - present: + - template: tmpl-ssh + - label: blue + - features: + - set: + - menu-items: + - require: + - qvm: ssh--create-template diff --git a/ssh/qvm-tmpl.sls b/ssh/qvm-tmpl.sls new file mode 100644 index 0000000..ca88c47 --- /dev/null +++ b/ssh/qvm-tmpl.sls @@ -0,0 +1,5 @@ +ssh--create-template: + qvm.clone: + - name: tmpl-ssh + - source: debian-12-minimal + diff --git a/ssh/tmpl-pkgs.sls b/ssh/tmpl-pkgs.sls new file mode 100644 index 0000000..35aeca8 --- /dev/null +++ b/ssh/tmpl-pkgs.sls @@ -0,0 +1,10 @@ +ssh--install-apps: + pkg.installed: + - pkgs: + - qubes-core-agent-passwordless-root + - qubes-mgmt-salt-vm-connector + - qubes-core-agent-networking + - qubes-gpg-split + - qubes-menus + - xfce4-terminal + - ssh -- cgit v1.2.3