]> git.proxmox.com Git - pve-installer.git/commit
auto-installer: add auto-installer binary
authorAaron Lauterer <a.lauterer@proxmox.com>
Wed, 17 Apr 2024 12:30:46 +0000 (14:30 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 22 Apr 2024 12:31:37 +0000 (14:31 +0200)
commit781f879edcd4bc83c7756d0a406bfbcfa2dff338
tree21387d801d5a996c64f4d3d375ad7bb778e17b00
parentc7edc2e1d8c5412e1fddfce4bde026900ea1a7ed
auto-installer: add auto-installer binary

It expects the contents of an answer file via stdin. It will then be
parsed and the JSON for the low level installer is generated.

It then calls the low level installer directly.
The output of the installaton progress is kept rather simple for now.

If configured in the answer file, commands will be run pre and post the
low level installer.

It also logs everything to the logfile, currently
'/tmp/auto_installer.log'.

Tested-by: Christoph Heiss <c.heiss@proxmox.com>
Reviewed-by: Christoph Heiss <c.heiss@proxmox.com>
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile
proxmox-auto-installer/src/bin/proxmox-auto-installer.rs [new file with mode: 0644]