[pve-devel] [PATCH manager 2/2] move check_kvm_nested call to check_misc
Mira Limbeck
m.limbeck at proxmox.com
Thu Jun 27 15:45:36 CEST 2019
Signed-off-by: Mira Limbeck <m.limbeck at proxmox.com>
---
was asked by @Dominik to move it.
PVE/CLI/pve5to6.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/PVE/CLI/pve5to6.pm b/PVE/CLI/pve5to6.pm
index 65552a35..622833b7 100644
--- a/PVE/CLI/pve5to6.pm
+++ b/PVE/CLI/pve5to6.pm
@@ -120,7 +120,6 @@ sub check_pve_packages {
}
sub check_kvm_nested {
- print "\nCHECKING KVM NESTED PARAMETER\n\n";
my $module_sysdir = "/sys/module";
if (-e "$module_sysdir/kvm_amd") {
$module_sysdir .= "/kvm_amd/parameters";
@@ -377,6 +376,8 @@ sub check_misc {
my $ip_count = scalar(@$configured_ips);
log_warn("IP must be configured exactly once on local node - defined $ip_count times") if ($ip_count != 1);
}
+
+ check_kvm_nested();
}
__PACKAGE__->register_method ({
@@ -394,7 +395,6 @@ __PACKAGE__->register_method ({
my ($param) = @_;
check_pve_packages();
- check_kvm_nested();
check_cluster_corosync();
check_ceph();
check_storage_health();
--
2.11.0
More information about the pve-devel
mailing list