mirror of
https://github.com/unman/shaker.git
synced 2024-10-01 01:25:41 -04:00
Pi-hole - standalone
This commit is contained in:
parent
b0576bab91
commit
6c61d79ac5
29
pihole/create.sls
Normal file
29
pihole/create.sls
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
pihole_depends:
|
||||||
|
qvm.template_installed:
|
||||||
|
- name: debian-11-minimal
|
||||||
|
|
||||||
|
pihole-present-id:
|
||||||
|
qvm.present:
|
||||||
|
- name: sys-pihole
|
||||||
|
- template: debian-11-minimal
|
||||||
|
- label: green
|
||||||
|
- class: StandaloneVM
|
||||||
|
|
||||||
|
pihole-prefs-id:
|
||||||
|
qvm.prefs:
|
||||||
|
- name: sys-pihole
|
||||||
|
- memory: 300
|
||||||
|
- maxmem: 800
|
||||||
|
- vcpus: 2
|
||||||
|
- netvm: sys-net
|
||||||
|
- provides-network: true
|
||||||
|
|
||||||
|
pihole-features-id:
|
||||||
|
qvm.features:
|
||||||
|
- name: sys-pihole
|
||||||
|
- disable:
|
||||||
|
- service.cups
|
||||||
|
- service.cups-browsed
|
||||||
|
|
||||||
|
'qvm-volume extend sys-pihole:private 20G':
|
||||||
|
cmd.run
|
4
pihole/create.top
Normal file
4
pihole/create.top
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
base:
|
||||||
|
dom0:
|
||||||
|
- match: nodegroup
|
||||||
|
- pihole.create
|
Loading…
Reference in New Issue
Block a user