From a8a4a10263a496794afd5c4eb9d8d7350b81031d Mon Sep 17 00:00:00 2001 From: daniceexi Date: Sat, 27 Apr 2013 08:03:10 +0000 Subject: [PATCH] move the localdisk mount point creating to genimage git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16105 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/statelite.pm | 7 ------- 1 file changed, 7 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/statelite.pm b/xCAT-server/lib/xcat/plugins/statelite.pm index 2972635ca..f76a8f766 100644 --- a/xCAT-server/lib/xcat/plugins/statelite.pm +++ b/xCAT-server/lib/xcat/plugins/statelite.pm @@ -21,7 +21,6 @@ Getopt::Long::Configure("pass_through"); my $cmdname = "liteimg"; my $statedir = ".statelite"; -my $lddir = ".sllocal"; my $verbose = "0"; sub handled_commands { return { @@ -558,12 +557,6 @@ sub liteMe { xCAT::Utils->runcmd("mkdir -p $rootimg_dir/$statedir/tmpfs", 0, 1); } - # ceate the dir for local disk mount point - unless (-d "$rootimg_dir/$lddir") { - $callback->({info=>["creating $rootimg_dir/$lddir"]}); - xCAT::Utils->runcmd("mkdir -p $rootimg_dir/$lddir", 0, 1); - } - foreach my $line (keys %{$hashNewRef}) { liteItem($rootimg_dir, $line, 0, $callback); if($hashNewRef->{$line}) { # there're children