-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
599f044
commit 783b9d9
Showing
43 changed files
with
377 additions
and
220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{# | ||
SPDX-FileCopyrightText: 2023 - 2025 Benjamin Grande M. S. <[email protected]> | ||
|
||
SPDX-License-Identifier: AGPL-3.0-or-later | ||
#} | ||
|
||
{% if grains['nodename'] == 'dom0' -%} | ||
|
||
{%- import slsdotpath ~ "/template.jinja" as template -%} | ||
include: | ||
- .create | ||
"{{ slsdotpath }}-update-admin": | ||
cmd.run: | ||
- require: | ||
- sls: {{ slsdotpath }}.create | ||
- name: qubes-vm-update --no-progress --show-output --targets={{ template.template }} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{# | ||
SPDX-FileCopyrightText: 2023 - 2025 Benjamin Grande M. S. <[email protected]> | ||
|
||
SPDX-License-Identifier: AGPL-3.0-or-later | ||
#} | ||
|
||
base: | ||
'I@qubes:type:template and E@^debian-[0-9][0-9]-minimal$': | ||
- match: compound | ||
- debian-minimal.update-admin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{# | ||
SPDX-FileCopyrightText: 2023 - 2025 Benjamin Grande M. S. <[email protected]> | ||
|
||
SPDX-License-Identifier: AGPL-3.0-or-later | ||
#} | ||
|
||
{% if grains['nodename'] == 'dom0' -%} | ||
|
||
{%- import slsdotpath ~ "/template.jinja" as template -%} | ||
include: | ||
- .create | ||
"{{ slsdotpath }}-update-admin": | ||
cmd.run: | ||
- require: | ||
- sls: {{ slsdotpath }}.create | ||
- name: qubes-vm-update --no-progress --show-output --targets={{ template.template }} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{# | ||
SPDX-FileCopyrightText: 2023 - 2025 Benjamin Grande M. S. <[email protected]> | ||
|
||
SPDX-License-Identifier: AGPL-3.0-or-later | ||
#} | ||
|
||
base: | ||
'I@qubes:type:template and E@^debian-[0-9][0-9]-xfce$': | ||
- match: compound | ||
- debian-xfce.update-admin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{# | ||
SPDX-FileCopyrightText: 2023 - 2025 Benjamin Grande M. S. <[email protected]> | ||
|
||
SPDX-License-Identifier: AGPL-3.0-or-later | ||
#} | ||
|
||
{% if grains['nodename'] == 'dom0' -%} | ||
|
||
{%- import slsdotpath ~ "/template.jinja" as template -%} | ||
include: | ||
- .create | ||
"{{ slsdotpath }}-update-admin": | ||
cmd.run: | ||
- require: | ||
- sls: {{ slsdotpath }}.create | ||
- name: qubes-vm-update --no-progress --show-output --targets={{ template.template }} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{# | ||
SPDX-FileCopyrightText: 2023 - 2025 Benjamin Grande M. S. <[email protected]> | ||
|
||
SPDX-License-Identifier: AGPL-3.0-or-later | ||
#} | ||
|
||
base: | ||
'I@qubes:type:template and E@^debian-[0-9][0-9]$': | ||
- match: compound | ||
- debian.update-admin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{# | ||
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <[email protected]> | ||
SPDX-FileCopyrightText: 2023 - 2025 Benjamin Grande M. S. <[email protected]> | ||
|
||
SPDX-License-Identifier: AGPL-3.0-or-later | ||
#} | ||
|
@@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later | |
{%- import slsdotpath ~ "/template.jinja" as template -%} | ||
include: | ||
- fedora.create | ||
- fedora-xfce.create | ||
- .clone | ||
"dvm-{{ template.template }}-absent": | ||
|
@@ -23,6 +23,7 @@ name: {{ template.template }} | |
force: True | ||
require: | ||
- sls: {{ template.template_clean }}.clone | ||
- sls: fedora-xfce.create | ||
present: | ||
- label: black | ||
prefs: | ||
|
@@ -32,6 +33,7 @@ prefs: | |
- memory: 300 | ||
- maxmem: 600 | ||
- include_in_backups: False | ||
- management_dispvm: dvm-fedora-xfce | ||
features: | ||
- set: | ||
- menu-items: "qubes-open-file-manager.desktop qubes-run-terminal.desktop qubes-start.desktop" | ||
|
@@ -63,22 +65,3 @@ features: | |
- menu-items: "qubes-open-file-manager.desktop qubes-run-terminal.desktop qubes-start.desktop" | ||
{%- endload %} | ||
{{ load(defaults) }} | ||
"{{ slsdotpath }}-set-management_dispvm-to-dvm-fedora": | ||
qvm.vm: | ||
- require: | ||
- qvm: dvm-fedora | ||
- name: {{ template.template }} | ||
- prefs: | ||
- management_dispvm: dvm-fedora | ||
## TODO: Remove when template with patch reaches upstream or updates enforce | ||
## salt-deps to be installed. | ||
## https://github.com/QubesOS/qubes-issues/issues/8806 | ||
"{{ slsdotpath }}-install-salt-deps": | ||
cmd.script: | ||
- require: | ||
- qvm: "{{ slsdotpath }}-set-management_dispvm-to-dvm-fedora" | ||
- name: salt-patch.sh | ||
- source: salt://fedora-minimal/files/admin/bin/salt-patch.sh | ||
- args: {{ template.template }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{# | ||
SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <[email protected]> | ||
SPDX-FileCopyrightText: 2023 - 2025 Benjamin Grande M. S. <[email protected]> | ||
|
||
SPDX-License-Identifier: AGPL-3.0-or-later | ||
#} | ||
|
@@ -9,21 +9,10 @@ SPDX-License-Identifier: AGPL-3.0-or-later | |
include: | ||
- .create | ||
"{{ slsdotpath }}-set-management_dispvm-to-default": | ||
"{{ slsdotpath }}-set-{{ template.template }}-management_dispvm-to-default": | ||
qvm.vm: | ||
- require: | ||
- cmd: "{{ slsdotpath }}-install-salt-deps" | ||
- sls: {{ slsdotpath }}.create | ||
- name: {{ template.template }} | ||
- prefs: | ||
- management_dispvm: "*default*" | ||
## TODO: Remove when template with patch reaches upstream or updates enforce | ||
## salt-deps to be installed. | ||
## https://github.com/QubesOS/qubes-issues/issues/8806 | ||
"{{ slsdotpath }}-shutdown-template": | ||
qvm.shutdown: | ||
- require: | ||
- qvm: "{{ slsdotpath }}-set-management_dispvm-to-default" | ||
- name: {{ template.template }} | ||
- flags: | ||
- force |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{# | ||
SPDX-FileCopyrightText: 2023 - 2025 Benjamin Grande M. S. <[email protected]> | ||
|
||
SPDX-License-Identifier: AGPL-3.0-or-later | ||
#} | ||
|
||
{% if grains['nodename'] == 'dom0' -%} | ||
|
||
{%- import slsdotpath ~ "/template.jinja" as template -%} | ||
include: | ||
- .create | ||
"{{ slsdotpath }}-update-admin": | ||
cmd.run: | ||
- require: | ||
- sls: {{ slsdotpath }}.create | ||
- name: qubes-vm-update --no-progress --show-output --targets={{ template.template }} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{# | ||
SPDX-FileCopyrightText: 2023 - 2025 Benjamin Grande M. S. <[email protected]> | ||
|
||
SPDX-License-Identifier: AGPL-3.0-or-later | ||
#} | ||
|
||
base: | ||
'I@qubes:type:template and E@^fedora-[0-9][0-9]-minimal$': | ||
- match: compound | ||
- fedora-minimal.update-admin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{# | ||
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <[email protected]> | ||
SPDX-FileCopyrightText: 2023 - 2025 Benjamin Grande M. S. <[email protected]> | ||
|
||
SPDX-License-Identifier: AGPL-3.0-or-later | ||
#} | ||
|
@@ -62,3 +62,11 @@ features: | |
- menu-items: "qubes-open-file-manager.desktop qubes-run-terminal.desktop qubes-start.desktop" | ||
{%- endload %} | ||
{{ load(defaults) }} | ||
"{{ slsdotpath }}-set-{{ template.template }}-management_dispvm-to-dvm-{{ template.template_clean }}": | ||
qvm.vm: | ||
- require: | ||
- qvm: dvm-{{ template.template_clean }} | ||
- name: {{ template.template }} | ||
- prefs: | ||
- management_dispvm: "dvm-{{ template.template_clean }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{# | ||
SPDX-FileCopyrightText: 2023 - 2025 Benjamin Grande M. S. <[email protected]> | ||
|
||
SPDX-License-Identifier: AGPL-3.0-or-later | ||
#} | ||
|
||
{%- import slsdotpath ~ "/template.jinja" as template -%} | ||
include: | ||
- .create | ||
"{{ slsdotpath }}-set-{{ template.template }}-management_dispvm-to-default": | ||
qvm.vm: | ||
- require: | ||
- sls: {{ slsdotpath }}.create | ||
- name: {{ template.template }} | ||
- prefs: | ||
- management_dispvm: "*default*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{# | ||
SPDX-FileCopyrightText: 2023 - 2025 Benjamin Grande M. S. <[email protected]> | ||
|
||
SPDX-License-Identifier: AGPL-3.0-or-later | ||
#} | ||
|
||
base: | ||
'dom0': | ||
- match: nodegroup | ||
- fedora-xfce.prefs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{# | ||
SPDX-FileCopyrightText: 2023 - 2025 Benjamin Grande M. S. <[email protected]> | ||
|
||
SPDX-License-Identifier: AGPL-3.0-or-later | ||
#} | ||
|
||
{% if grains['nodename'] == 'dom0' -%} | ||
|
||
{%- import slsdotpath ~ "/template.jinja" as template -%} | ||
include: | ||
- .create | ||
"{{ slsdotpath }}-update-admin": | ||
cmd.run: | ||
- require: | ||
- sls: {{ slsdotpath }}.create | ||
- name: qubes-vm-update --no-progress --show-output --targets={{ template.template }} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{# | ||
SPDX-FileCopyrightText: 2023 - 2025 Benjamin Grande M. S. <[email protected]> | ||
|
||
SPDX-License-Identifier: AGPL-3.0-or-later | ||
#} | ||
|
||
base: | ||
'I@qubes:type:template and E@^fedora-[0-9][0-9]-xfce$': | ||
- match: compound | ||
- fedora-xfce.update-admin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.