This is an old revision of the document!
So now that we can script stateless provisioning, we might also want to use stateful provisioning. That is PXE boot node once to format drive and install kernel + OS but then disable PXE boot and boot from hard drive. Use scenario, I have some nodes with large fast disks on board which can provide local scratch area.
Basic steps
Documentation page (http://warewulf.lbl.gov/trac/wiki/Recipes/StatefulProvisioning)
From user list (Jason Stover) with modified notes:
1) Install Kernel and Grub packages into VNFS
2) Be sure you're configuring BOOTLOADER, DISKPARTITION, DISKFORMAT, and FILESYSTEMS 3) Have the node PXE boot. Once it has provisioned, set bootlocal to 1:
# wwsh provision set --bootlocal=1 [node]
4) Reboot node. Still with PXE as the first boot device. The PXE config file causes it to boot off hard drive instead of image if bootlocal is set. So, it “should” be booting of the HDD.