mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Merge pull request #14892 from Security-Onion-Solutions/vlb2
match user soqemussh, allow user additions to persist, for ssh config.
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
Host *
|
Match user soqemussh
|
||||||
IdentityFile /etc/ssh/auth_keys/soqemussh/id_ed25519
|
IdentityFile /etc/ssh/auth_keys/soqemussh/id_ed25519
|
||||||
|
|||||||
@@ -16,10 +16,17 @@
|
|||||||
|
|
||||||
{% if GLOBALS.is_manager %}
|
{% if GLOBALS.is_manager %}
|
||||||
|
|
||||||
qemu_ssh_client_config:
|
root_ssh_config:
|
||||||
file.managed:
|
file.touch:
|
||||||
- name: /root/.ssh/config
|
- name: /root/.ssh/config
|
||||||
|
|
||||||
|
qemu_ssh_client_config:
|
||||||
|
file.blockreplace:
|
||||||
|
- name: /root/.ssh/config
|
||||||
|
- marker_start: "# START of block managed by Salt - soqemussh config"
|
||||||
|
- marker_end: "# END of block managed by Salt - soqemussh config"
|
||||||
- source: salt://libvirt/ssh/files/config
|
- source: salt://libvirt/ssh/files/config
|
||||||
|
- prepend_if_not_found: True
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user