Hi Thomas,<br>I can see the classes are being referred properly. The message from the fai.log is below<br><br>Ramdisk mounted onto /target/var/cache/yum<br>Calling task_mirror<br>Calling hook: debconf.CENTOS<br>debconf.CENTOS       OK.<br>
Skiping task_debconf<br>Calling hook: prepareapt.CENTOS<br>Test if class DHCPC is in DEFAULT<br>LINUX<br>I386<br>FAIBASE<br>CENTOS<br>CENTOS6_32<br>host<br>LAST<br>ifclass returns 1<br>FILE: /target/etc/hosts<br>LINE: 145.145.145.22 <a href="http://host.example.org">host.example.org</a> host<br>
PATTERN: <br>ainsl: newpattern: 145.145.145.22\s+<a href="http://host.example.org">host.example.org</a>\s+host<br>ainsl: newline: 145.145.145.22 <a href="http://host.example.org">host.example.org</a> host<br>ainsl: appending to /target/etc/hosts: 145.145.145.22 <a href="http://host.example.org">host.example.org</a> host<br>
Classes: DEFAULT LINUX I386 FAIBASE CENTOS CENTOS6_32 host LAST <br>List of all files found by File::Find::find:  at /usr/sbin/fcopy line 484.<br>prepareapt.CENTOS    OK.<br><br><br><b>The only error is see in the error.log is as follows</b><br>
dmesg.log:[    0.000000] Fast TSC calibration failed<br>dmesg.log:[    9.624549] aufs: module is from the staging directory, the quality is unknown, you have been warned.<br>fai.log:#primary /      350      ext3  rw,noatime,errors=remount-ro createopts="-L ROOT -I 128"<br>
fai.log:primary /      350      ext4  rw,noatime,errors=remount-ro createopts="-L ROOT"<br>fai.log:                                                         'mount_options' => 'rw,noatime,errors=remount-ro',<br>
fai.log:(STDOUT) Warning: The resulting partition is not properly aligned for best performance.<br>..........................<br>....................<br>fai.log:Unable to read /target/etc/apt/sources.list.d/ - DirectoryExists (2: No such file or directory)<br>
fai.log:Unable to read /target/etc/apt/sources.list - FileExists (2: No such file or directory)<br>fai.log:Unable to read /target/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)<br>fai.log:SERVER not defined. Can't change network boot configuration<br>
format.log:#primary /      350      ext3  rw,noatime,errors=remount-ro createopts="-L ROOT -I 128"<br>format.log:primary /      350      ext4  rw,noatime,errors=remount-ro createopts="-L ROOT"<br>format.log:                                                         'mount_options' => 'rw,noatime,errors=remount-ro',<br>
format.log:(STDOUT) Warning: The resulting partition is not properly aligned for best performance.<br>shell.log:+ trap 'error=$(($?>$error?$?:$error))' ERR<br>shell.log:+ trap 'error=$(($?>$error?$?:$error))' ERR<br>
<br>Regards,<br>Srivatsan<br><br><div class="gmail_quote">On Thu, Jul 21, 2011 at 2:28 PM, Thomas Lange <span dir="ltr"><<a href="mailto:lange@informatik.uni-koeln.de">lange@informatik.uni-koeln.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">>>>>> On Thu, 21 Jul 2011 13:24:03 -0700, srivatsan s <<a href="mailto:srivatsan.s30@gmail.com">srivatsan.s30@gmail.com</a>> said:<br>

<br>
    >  do you mean i need to do this in 50-host-classes?<br>
<br>
    > #(ifclass I386 || ifclass AMD64) && echo GRUB_PC<br>
    > (ifclass I386 || ifclass AMD64)<br>
    > exit 0<br>
    > i have commented the echo GRUB_PC.<br>
</div>I'm not sure what you have done. Please check fai.log to which classes<br>
your install client belongs.<br>
<div class="im"><br>
<br>
    > currently my client is getting installed based on<br>
    >  *)<br>
    >     echo "FAIBASE CENTOS "<br>
    >      ;; # CentOS does not use the GRUB class;;<br>
<br>
</div>It should also belongto the class CENTOS6_32 or CENTOS6_64.<br>
<br>
P.S.: Please do NOT cite my whole message. Just cite the lines that are needed.<br>
<font color="#888888"><br>
--<br>
regards Thomas<br>
</font></blockquote></div><br>