-Create autoinst directory if required
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6365 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
bc4993d32a
commit
99e84ca4d8
@ -74,6 +74,9 @@ sub mkimage {
|
||||
my $ostab = xCAT::Table->new('nodetype');
|
||||
my $oshash = $ostab->getNodesAttribs(\@nodes,['profile','arch']);
|
||||
my $shandle;
|
||||
unless (-d "$installroot/autoinst") {
|
||||
mkpath "$installroot/autoinst";
|
||||
}
|
||||
foreach $node (@nodes) {
|
||||
$ent = $oshash->{$node}->[0];
|
||||
unless ($ent->{arch} and $ent->{profile})
|
||||
|
Loading…
Reference in New Issue
Block a user