]> git.proxmox.com Git - pve-manager.git/commitdiff
move check_kvm_nested call to check_misc
authorMira Limbeck <m.limbeck@proxmox.com>
Thu, 27 Jun 2019 13:45:36 +0000 (15:45 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 27 Jun 2019 15:37:39 +0000 (17:37 +0200)
Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
PVE/CLI/pve5to6.pm

index 65552a3575b48e910f6b3f5ed554deccef3c9cf6..622833b7be4470f1115637191e08641349669017 100644 (file)
@@ -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();