diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index a1730998a..311644d6a 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -1443,6 +1443,7 @@ sub copycd unless($path =~ /^($defaultpath)/) { + mkpath($defaultpath); if(-d $defaultpath) { rmtree($defaultpath);