diff --git a/xCAT-server/lib/xcat/plugins/kit.pm b/xCAT-server/lib/xcat/plugins/kit.pm index e4a94a721..4314ca64e 100644 --- a/xCAT-server/lib/xcat/plugins/kit.pm +++ b/xCAT-server/lib/xcat/plugins/kit.pm @@ -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}"; } }