mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-24 15:05:36 +00:00
use read only mount for kitcomponent during addkitcomp
This commit is contained in:
@ -589,7 +589,7 @@ sub assign_to_osimage
|
||||
{
|
||||
system("mkdir -p $otherpkgdir/$kitcomptable->{kitreponame}");
|
||||
print "mkdir -p $otherpkgdir/$kitcomptable->{kitreponame}";
|
||||
system("mount --bind $kitrepodir $otherpkgdir/$kitcomptable->{kitreponame}");
|
||||
system("mount -o ro --bind $kitrepodir $otherpkgdir/$kitcomptable->{kitreponame}");
|
||||
print "mount --bind $kitrepodir $otherpkgdir/$kitcomptable->{kitreponame}";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user