mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-21 10:40:24 +00:00
Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core
This commit is contained in:
@@ -586,10 +586,10 @@ sub assign_to_osimage
|
||||
{
|
||||
unless ( -d "$otherpkgdir/$kitcomptable->{kitreponame}" )
|
||||
{
|
||||
system("mkdir -p $otherpkgdir/$kitcomptable->{kitreponame}");
|
||||
print "mkdir -p $otherpkgdir/$kitcomptable->{kitreponame}";
|
||||
system("mount -o ro --bind $kitrepodir $otherpkgdir/$kitcomptable->{kitreponame}");
|
||||
print "mount --bind $kitrepodir $otherpkgdir/$kitcomptable->{kitreponame}";
|
||||
# system("mkdir -p $otherpkgdir/$kitcomptable->{kitreponame}");
|
||||
# print "mkdir -p $otherpkgdir/$kitcomptable->{kitreponame}";
|
||||
system("cp -Rf $kitrepodir $otherpkgdir/");
|
||||
print "cp -Rf $kitrepodir $otherpkgdir/";
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user