2021-02-05 09:25:27 -05:00
|
|
|
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
|
|
|
|
|
2023-02-21 07:57:17 -05:00
|
|
|
{% if salt['pillar.get']('update_proxy:caching') %}
|
2021-02-05 09:25:27 -05:00
|
|
|
|
2023-01-29 11:14:53 -05:00
|
|
|
/etc/apt/sources.list:
|
2021-02-05 09:25:27 -05:00
|
|
|
file.replace:
|
2023-01-29 11:14:53 -05:00
|
|
|
- names:
|
|
|
|
- /etc/apt/sources.list
|
|
|
|
- /etc/apt/sources.list.d/qubes-r4.list
|
2021-02-05 09:25:27 -05:00
|
|
|
- pattern: 'https:'
|
|
|
|
- repl: 'http://HTTPS/'
|
|
|
|
- flags: [ 'IGNORECASE', 'MULTILINE' ]
|
|
|
|
|
2023-01-29 11:14:53 -05:00
|
|
|
{% endif %}
|
2021-02-05 09:25:27 -05:00
|
|
|
|
|
|
|
installed:
|
|
|
|
pkg.installed:
|
|
|
|
- pkgs:
|
|
|
|
- openssh-server
|
|
|
|
- socat
|
|
|
|
|
|
|
|
disable:
|
|
|
|
cmd.run:
|
|
|
|
- name: |
|
|
|
|
systemctl stop ssh
|
|
|
|
systemctl disable ssh
|
|
|
|
systemctl mask ssh
|
|
|
|
|
|
|
|
/etc/qubes-rpc/qubes.ssh:
|
|
|
|
file.append:
|
|
|
|
- text: |
|
|
|
|
#!/bin/sh
|
|
|
|
exec socat STDIO TCP:localhost:22
|