When using centos7.0 and rhelhpc7.0 diskless osimage to deploy CN, the CN stopped to check tmplfs and can't be deployed successly.
We think that genimage didn't cover centos and rhelhpc os when generate the fstab file and we added the following code in genimage and it seems to work well.
[root@pcmrhel71 rh]# diff -u genimage_bak genimage
--- genimage_bak 2015-07-28 11:36:17.619166475 +0800
+++ genimage 2015-07-27 16:06:38.873525632 +0800
@@ -1684,7 +1684,16 @@
return 1;
}
}
-
+ elsif ($os =~/centos(\d+)/){
+ if($1 >= 7){
+ return 1;
+ }
+ }
+ elsif ($os =~/rhelhpc(\d+)/){
+ if($1 >= 7){
+ return 1;
+ }
+ }
return 0;
}
Diff:
the fix is ok for me.
commited in 2.9.1-pcm 7fb8aa629d0696174deae38703a4f31d7adf0bc0.
Need merge to master after xCAT2.10 GA