X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=proxinstall;h=111fe33447d630f0ec3c796e082f9a075215d31e;hb=0adc7ca0563997915a01b8b05ec5cb9f63f41e48;hp=6e6b44ce7127ac27f2cec44b413b3aea753406f5;hpb=35f05681cecd09f7d4fb36b0bbe96f22c6b1f1f1;p=pve-installer.git diff --git a/proxinstall b/proxinstall index 6e6b44c..111fe33 100755 --- a/proxinstall +++ b/proxinstall @@ -2688,10 +2688,12 @@ sub create_hdoption_view { push @$hdsize_labeled_widgets, "swapsize", $entry_swapsize; my $entry_maxroot = Gtk3::Entry->new(); - $entry_maxroot->set_tooltip_text("maximum size (GB) for LVM root volume"); - $entry_maxroot->signal_connect (key_press_event => \&check_float); - $entry_maxroot->set_text($config_options->{maxroot}) if $config_options->{maxroot}; - push @$hdsize_labeled_widgets, "maxroot", $entry_maxroot; + if ($setup->{product} eq 'pve') { + $entry_maxroot->set_tooltip_text("maximum size (GB) for LVM root volume"); + $entry_maxroot->signal_connect (key_press_event => \&check_float); + $entry_maxroot->set_text($config_options->{maxroot}) if $config_options->{maxroot}; + push @$hdsize_labeled_widgets, "maxroot", $entry_maxroot; + } my $entry_minfree = Gtk3::Entry->new(); $entry_minfree->set_tooltip_text("minimum free LVM space (GB, required for LVM snapshots)");