Merge branch 'imgcapture'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9125 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
21cfc2fb31
commit
4175e33d5c
@ -317,21 +317,6 @@ sub imgcapture {
|
||||
xCAT::MsgUtils->message("D", $rsp, $callback);
|
||||
}
|
||||
|
||||
my @spotslist = ("/tmp/", "/proc/", "/sys/", "/dev/");
|
||||
|
||||
if($verbose) {
|
||||
my $rsp = {};
|
||||
$rsp->{data}->[0] = qq{The spots to be restored in the image are:};
|
||||
foreach (@spotslist) {
|
||||
push @{$rsp->{data}}, $_;
|
||||
}
|
||||
xCAT::MsgUtils->message("D", $rsp, $callback);
|
||||
}
|
||||
# create the directories listed in @spotslist in the rootimg
|
||||
foreach my $path (@spotslist) {
|
||||
mkpath("$rootimgdir$path");
|
||||
}
|
||||
|
||||
# the next step is to call "genimage"
|
||||
my $platform = getplatform($os);
|
||||
if( -e "$::XCATROOT/share/xcat/netboot/$platform/genimage" ) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
./tmp*
|
||||
./proc*
|
||||
./dev*
|
||||
./sys*
|
||||
./install*
|
||||
./xcatpost*
|
||||
./tmp/*
|
||||
./proc/*
|
||||
./dev/*
|
||||
./sys/*
|
||||
./install/*
|
||||
./xcatpost/*
|
||||
|
@ -1,6 +1,6 @@
|
||||
./tmp*
|
||||
./proc*
|
||||
./dev*
|
||||
./sys*
|
||||
./install*
|
||||
./xcatpost*
|
||||
./tmp/*
|
||||
./proc/*
|
||||
./dev/*
|
||||
./sys/*
|
||||
./install/*
|
||||
./xcatpost/*
|
||||
|
Loading…
Reference in New Issue
Block a user