fix: opt out of the SSH hardening inherited from napalm-linux
CI / test (3.10) (pull_request) Failing after 20s
CI / test (3.11) (pull_request) Failing after 18s
CI / test (3.12) (pull_request) Failing after 19s
CI / test (3.10) (push) Successful in 28s
CI / test (3.11) (push) Successful in 27s
CI / test (3.12) (push) Successful in 29s
CI / test (3.10) (pull_request) Failing after 20s
CI / test (3.11) (pull_request) Failing after 18s
CI / test (3.12) (pull_request) Failing after 19s
CI / test (3.10) (push) Successful in 28s
CI / test (3.11) (push) Successful in 27s
CI / test (3.12) (push) Successful in 29s
OpenMediaVault generates sshd_config from its own database; a drop-in netOrk wrote would be dropped by the next apply of the SSH settings without a word. harden_ssh_server = None makes netOrk's capability probe answer no. Requires napalm-linux 0.5.0; bumps to 0.1.1. NetOrk/netork#1027
This commit is contained in:
1 parent
5742349742
commit
f68c758338
3 files changed
+23
-2
No files matched your search
@@ -65,6 +65,11 @@ class OpenMediaVaultDriver(StorageDriver, LinuxDriver):
|
||||
FingerprintRule("openmediavault", weight=9.0, mandatory=True),
|
||||
]
|
||||
|
||||
#: OMV generates sshd_config from its own database; a drop-in netOrk wrote
|
||||
#: would be dropped on the next apply of the SSH settings. Inherited from
|
||||
#: napalm-linux, so opted out here (NetOrk/netork#1027).
|
||||
harden_ssh_server = None # type: ignore[assignment]
|
||||
|
||||
# ── Facts override ─────────────────────────────────────────────────────────
|
||||
|
||||
def get_facts(self) -> dict[str, Any]:
|
||||
|
||||
Reference in new issue
Block a user