* [pve-devel] [PATCH v2 installer] warn if maxvz is set <= 4 GiB
@ 2024-11-19 11:12 Mira Limbeck
2024-11-19 13:29 ` [pve-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Mira Limbeck @ 2024-11-19 11:12 UTC (permalink / raw)
To: pve-devel
If it is set and 0, don't warn.
Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
---
v2:
- added check != 0
- fixed punctuation in text
Proxmox/Install.pm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Proxmox/Install.pm b/Proxmox/Install.pm
index c64e1d4..e278917 100644
--- a/Proxmox/Install.pm
+++ b/Proxmox/Install.pm
@@ -555,6 +555,10 @@ sub create_lvm_volumes {
my $maxvz = Proxmox::Install::Config::get_maxvz();
if ($iso_env->{product} eq 'pve' && !defined($maxvz)) {
Proxmox::UI::message("Skipping auto-creation of LVM thinpool for guest data due to low space.");
+ } elsif ($iso_env->{product} eq 'pve' && $maxvz != 0) {
+ Proxmox::UI::message(
+ "Skipping auto-creation of LVM thinpool for guest data. Maximum data volume size set too low."
+ );
}
$datadev = undef;
}
--
2.39.5
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* [pve-devel] applied: [PATCH v2 installer] warn if maxvz is set <= 4 GiB
2024-11-19 11:12 [pve-devel] [PATCH v2 installer] warn if maxvz is set <= 4 GiB Mira Limbeck
@ 2024-11-19 13:29 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2024-11-19 13:29 UTC (permalink / raw)
To: Proxmox VE development discussion, Mira Limbeck
Am 19.11.24 um 12:12 schrieb Mira Limbeck:
> If it is set and 0, don't warn.
>
> Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
> ---
> v2:
> - added check != 0
> - fixed punctuation in text
>
> Proxmox/Install.pm | 4 ++++
> 1 file changed, 4 insertions(+)
>
>
applied, with a bit more context in commit subject, thanks!
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-11-19 13:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-19 11:12 [pve-devel] [PATCH v2 installer] warn if maxvz is set <= 4 GiB Mira Limbeck
2024-11-19 13:29 ` [pve-devel] applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox