shaker/monero/create.sls

53 lines
1.0 KiB
Plaintext

precursor_gw:
qvm.template_installed:
- name: whonix-gw-16
precursor:
qvm.template_installed:
- name: whonix-ws-16
monerod-ws:
qvm.present:
- name: monerod-ws
- template: whonix-ws-16
- label: red
monerod-ws_prefs:
qvm.prefs:
- name: monerod-ws
- netvm: sys-whonix
- memory: 400
- maxmem: 4000
- vcpus: 2
- template_for_dispvms: False
- include_in_backups: True
'qvm-volume extend monerod-ws:private 100G' :
cmd.run
monerod-ws_features:
qvm.features:
- name: monerod-ws
- enable:
- service.monerod-mainnet
monero-wallet:
qvm.present:
- name: monero-wallet-ws
- template: whonix-ws-16
- class: AppVM
- netvm: none
- label: green
monero-wallet_prefs:
qvm.prefs:
- name: monero-wallet-ws
- autostart: false
- include_in_backups: True
- netvm: none
update_monero_policy:
file.prepend:
- name: /etc/qubes/policy.d/30-user.policy
- text: 'qubes.monerod-mainnet * monero-wallet-ws monerod-ws allow'