]> git.proxmox.com Git - pve-installer.git/commit - Proxmox/Install.pm
auto-installer: move ssh keys setup to low-level installer
authorChristoph Heiss <c.heiss@proxmox.com>
Tue, 23 Apr 2024 14:44:29 +0000 (16:44 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 23 Apr 2024 15:24:24 +0000 (17:24 +0200)
commit9a5b563dfeb3bd0bc78f1479bc0d901377a6759b
tree12e3c743f4bf963f7723c941de53d6e09a6a2063
parent57ca9622cab2b7c2fa0d0a7d40e619db94463cf2
auto-installer: move ssh keys setup to low-level installer

.. thereby, also fixing a accidental shell injection.

Since run_cmd{,s}() is nowhere else used anymore, they can be removed
too.

Also mostly reverts commit

  5878dc4ae "auto-installer: handle auto-reboot info messages directly"

in the process too.

Reported-by: Friedrich Weber <f.weber@proxmox.com>
Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
13 files changed:
Proxmox/Install.pm
Proxmox/Install/Config.pm
proxmox-auto-installer/src/bin/proxmox-auto-installer.rs
proxmox-auto-installer/src/utils.rs
proxmox-auto-installer/tests/resources/parse_answer/disk_match.json
proxmox-auto-installer/tests/resources/parse_answer/disk_match_all.json
proxmox-auto-installer/tests/resources/parse_answer/disk_match_any.json
proxmox-auto-installer/tests/resources/parse_answer/minimal.json
proxmox-auto-installer/tests/resources/parse_answer/nic_matching.json
proxmox-auto-installer/tests/resources/parse_answer/specific_nic.json
proxmox-auto-installer/tests/resources/parse_answer/zfs.json
proxmox-installer-common/src/setup.rs
proxmox-tui-installer/src/setup.rs