<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Nov 15, 2010, at 11:53 AM, Phil Meyer wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On 11/14/2010 02:13 PM, Dan Burkland wrote:<br><blockquote type="cite">Hello all,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I may have missed this when the beta was going on however I am wondering if there has been any plans for Red Hat to include the system-config-netboot-cmd package in the RHEL6 release?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Dan<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">rhelv6-list mailing list<br></blockquote><blockquote type="cite"><a href="mailto:rhelv6-list@redhat.com">rhelv6-list@redhat.com</a><br></blockquote><blockquote type="cite"><a href="https://www.redhat.com/mailman/listinfo/rhelv6-list">https://www.redhat.com/mailman/listinfo/rhelv6-list</a><br></blockquote><br>We have spent a lot of time figuring this out.<br><br>Basically, dracut is much more flexible than previous boot support methods.<br><br>The procedure now goes like this:<br><br>Build the base system like before.  We now use a Virtual Machine for this.<br><br>Be sure to install dracut-network:<br>    # yum install dracut-network<br><br>Then build a new initrd:<br>    # cd /boot<br>    # dracut initrd.img `uname -r`<br><br>copy the new initrd.img and the kernel to your tftp server.<br><br>copy the base image to your NFS server.<br><br>remove/edit /etc/udev/rules.d/70-persistent-net.rules<br>edit /etc/sysconfig/network-scripts/ifconfig-eth0<br>edit /etc/fstab<br>edit /etc/sysconfig/network<br><br>All done for pure diskless.<br><br>However, to do a shared root, it gets more complicated.<br><br>edit /etc/sysconfig/readonly-root<br><br>This is the first complication.  There is more than one way to <br>accomplish this.  In order to use the old 'snapshot' style mounts, we <br>did it this way:<br><br># cat /etc/sysconfig/readonly-root<br># Set to 'yes' to mount the system filesystems read-only.<br>READONLY=yes<br># Set to 'yes' to mount various temporary state as either tmpfs<br># or on the block device labelled RW_LABEL. Implied by READONLY<br>TEMPORARY_STATE=no<br># Place to put a tmpfs for temporary scratch writable space<br>RW_MOUNT=/var/lib/stateless/writable<br># Label on local filesystem which can be used for temporary scratch space<br>RW_LABEL=stateless-rw<br># Options to use for temporary mount<br>RW_OPTIONS=<br># Label for partition with persistent data<br>STATE_LABEL=stateless-state<br># Where to mount to the persistent data<br>STATE_MOUNT=/var/lib/stateless/state<br># Options to use for peristent mount<br>STATE_OPTIONS=<br># set CLIENTSTATE<br>CLIENTSTATE=<NFS_SERVER>:/RHEL_6_NFS/snapshot<br><br>CLIENTSTATE is used in /etc/rc.d/rc.sysinit if set.<br>A reading of that file is recommended.<br><br>Next, you need to specify the unique files list in /etc/statetab<br><br>That should do it.<br><br>You can pretty much rsync any changes to the VM down to the nfsroot if <br>you exclude the following types of stuff:<br><br># cat /root/excludes<br>etc/statetab<br>etc/hosts<br>etc/sysconfig/network<br>etc/sysconfig/readonly-root<br>etc/sysconfig/network-scripts/ifcfg-eth0<br>etc/sysconfig/network-scripts/ifcfg-eth1<br>etc/udev/rules.d/70-persistent-net.rules<br>etc/modprobe.d/bonding.conf<br><br><br>Good Luck!<br><br>_______________________________________________<br>rhelv6-list mailing list<br><a href="mailto:rhelv6-list@redhat.com">rhelv6-list@redhat.com</a><br>https://www.redhat.com/mailman/listinfo/rhelv6-list<br></div></blockquote><br></div><div>Thanks for the informative reply.</div><div><br></div><div>I am really only concerned about the removal of system-config-netboot because I used the <b>pxeos</b> tool to setup our tftp server for an upcoming kickstart build for a designated host. I'm guessing now this will have to be done manually.</div><div><br></div><div>Regards,</div><div><br></div><div>Dan</div><br></body></html>