summaryrefslogtreecommitdiff
path: root/web/qvm-app.sls
blob: 6d49a070a57573ec48a01259d81e4558dfafb3e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
web--create-web-qube:
  qvm.vm:
    - name: web-dvm
    - present:
      - template: tmpl-web
      - label: yellow
    - prefs:
      - template_for_dispvms: True
    - features:
      - set:
        - menu-items: xfce4-terminal.desktop
    - require:
      - qvm: web--create-template

web-features_dvm:
  qvm.features:
    - name: web-dvm
    - disable:
      - service.cups
      - service.cups-browsed
      - service.tinyproxy
    - set:
      - menu-items: xfce4-terminal.desktop
      - appmenus-dispvm: True

split-web--create-qube:
  qvm.vm:
    - name: split-web
    - present:
      - template: tmpl-split-web
      - label: gray
    - prefs:
      - default-dispvm: web-dvm
      - netvm: none
    - features:
      - set:
        - menu-items: split-browser.desktop xterm.desktop
    - require:
        - web--create-split-template

# web--create-vps-admin-qube:
#   qvm.vm:
#     - name: web-vps-admin
#     - present:
#       - template: tmpl-web
#       - label: blue
#     - features:
#       - set:
#         - menu-items: librewolf.desktop
#     - require:
#       - qvm: web--create-template

# web--create-home-admin-qube:
#   qvm.vm:
#     - name: web-home-admin
#     - present:
#       - template: tmpl-web
#       - label: blue
#     - features:
#       - set:
#         - menu-items: librewolf.desktop
#     - require:
#       - qvm: web--create-template

# web--create-banking-qube:
#   qvm.vm:
#     - name: web-banking
#     - present:
#       - template: tmpl-web
#       - label: blue
#     - features:
#       - set:
#         - menu-items: librewolf.desktop
#     - require:
#       - qvm: web--create-template

# web--create-work-qube:
#   qvm.vm:
#     - name: web-work
#     - present:
#       - template: tmpl-web
#       - label: blue
#       - mem: 6000
#       - vcpus: 4
#     - features:
#       - set:
#         - menu-items: librewolf.desktop
#     - require:
#       - qvm: web--create-template

# web--create-shopping-qube:
#   qvm.vm:
#     - name: web-shopping
#     - present:
#       - template: tmpl-web
#       - label: blue
#     - features:
#       - set:
#         - menu-items: librewolf.desktop
#     - require:
#       - qvm: web--create-template