]> git.proxmox.com Git - pve-installer.git/commit
tui: don't abort install if min ram requirement is not met
authorNoel Ullreich <n.ullreich@proxmox.com>
Mon, 10 Jul 2023 09:22:27 +0000 (11:22 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 13 Jul 2023 14:02:50 +0000 (16:02 +0200)
commitf9960aa743ed76bde655060c7cb9c0e42bc10b90
tree0b96a94734917a4eee1e64d40e42faa64ecf39d5
parenta6d1f315a9a087381f8854e3ef345003cf6d8cb7
tui: don't abort install if min ram requirement is not met

If the minimum requirements are not met, the TUI installer will create a
popup notifying you that the install might not work and then exits the
installer.
While the GUI also creates such a popup, it will not exit the installer.
This patch adapts the behavior of the GUI: the TUI creates a popup
warning you that min spec is not met but doesn't abort the install.

Signed-off-by: Noel Ullreich <n.ullreich@proxmox.com>
Reviewed-by: Christoph Heiss <c.heiss@proxmox.com>
Tested-by: Christoph Heiss <c.heiss@proxmox.com>
 [T: fix conflict in context and drop intermediate variable ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
proxmox-tui-installer/src/main.rs
proxmox-tui-installer/src/system.rs