mirror of
https://github.com/unman/shaker.git
synced 2024-10-01 01:25:41 -04:00
39 lines
791 B
Plaintext
39 lines
791 B
Plaintext
|
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
|
||
|
|
||
|
/etc/apt/sources.list:
|
||
|
file.replace:
|
||
|
- pattern: 'https:'
|
||
|
- repl: 'http://HTTPS/'
|
||
|
- flags: [ 'IGNORECASE', 'MULTILINE' ]
|
||
|
|
||
|
/etc/apt/sources.list.d/qubes-r4.list:
|
||
|
file.replace:
|
||
|
- pattern: 'https:'
|
||
|
- repl: 'http://HTTPS/'
|
||
|
- flags: [ 'IGNORECASE', 'MULTILINE' ]
|
||
|
|
||
|
allow-testing:
|
||
|
file.uncomment:
|
||
|
- name: /etc/apt/sources.list.d/qubes-r4.list
|
||
|
- regex: ^deb\s.*qubes-os.org.*-testing
|
||
|
- backup: false
|
||
|
|
||
|
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
|