Commit 45c3d95b authored by Michał Woźniak's avatar Michał Woźniak

personal domain now uses sys-wg-personal and is well defined

parent 46896f3c
# -*- coding: utf-8 -*-
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
personal.present:
qvm.present:
- name: personal
- template: debian-10-desktop
- label: yellow
- require:
- qvm: debian-10-desktop.clone
personal.prefs:
qvm.prefs:
- name: personal
- netvm: sys-wg-personal
- template: debian-10-desktop
- label: yellow
- tags:
- work
- personal
- require:
- qvm: personal.present
- qvm: sys-wg-personal.prefs
# -*- coding: utf-8 -*-
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
sys-wg-personal.present:
qvm.present:
- name: sys-wg-personal
- template: debian-10-wg
- label: gray
- require:
- qvm: debian-10-wg.prefs
sys-wg-personal.prefs:
qvm.prefs:
- name: sys-wg-personal
- mem: 512
- vcpus: 1
- virt_mode: hvm
- kernel: ''
- provides-network: true
- require:
- qvm: sys-wg-personal.present
# -*- coding: utf-8 -*-
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
# make sure that /rw/config/hosts.local exists
/rw/config/hosts.local:
file.prepend:
- text: |
#
# contents of this file are appended to /etc/hosts
# on every boot of this vm
# it's a good place to configure specfic hosts
# this will add a line to /rw/config/rc.local
# that will in turn add the required hosts to /etc/hosts in the vm
# on each boot
"append /rw/config/hosts.local to /etc/hosts on vm start":
file.append:
- name: /rw/config/rc.local
- text: "cat /rw/config/hosts.local >> /etc/hosts"
- require:
- file: /rw/config/hosts.local
# -*- coding: utf-8 -*-
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
base:
dom0:
- rysieks-qubes.templates.debian-10
- rysieks-qubes.templates.debian-10-desktop
- rysieks-qubes.templates.debian-10-wg
- rysieks-qubes.personal.netvm-sys-wg-personal
- rysieks-qubes.personal.appvm-personal
debian-10-wg:
- rysieks-qubes.wireguard.install
- rysieks-qubes.wireguard.template-config
sys-wg-personal:
- rysieks-qubes.wireguard.netvm-config
personal:
- rysieks-qubes.personal.personal
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment