]> git.proxmox.com Git - pve-cluster.git/commitdiff
start clvm
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 23 Sep 2011 08:43:38 +0000 (10:43 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 23 Sep 2011 08:43:38 +0000 (10:43 +0200)
data/PVE/pvecm

index 773d8ee56ac561a69ee820a6a45c6697fd7fb807..30f47800a244b3d197ce32da4f19c0562e6839a0 100755 (executable)
@@ -205,6 +205,9 @@ _EOD
 
        # that cman init script returns strange values - simply ignore for now
        system('/etc/init.d/cman start');
+
+       # also start clvm
+       system('/etc/init.d/clvm start');
        
        return undef;
 }});
@@ -453,6 +456,8 @@ __PACKAGE__->register_method ({
            }
            print "OK\n" if !$printqmsg;
 
+           system("/etc/init.d/clvm start");
+
            print "generating node certificates\n";
            PVE::Cluster::gen_pve_node_files($nodename, $local_ip_address);