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