This project is a fork of the ovirt-node-image.git project. If you have that one already cloned locally, you can use
git clone --reference /path/to/your/ovirt-node-image.git/incarnation mirror_URL
to save bandwidth during cloning.
 
descriptionovirt-node-image work-in-progress
ownerapevec@gmail.com
last changeTue, 3 Nov 2009 20:43:39 +0000 (3 15:43 -0500)
content tags
add:
README
Some notes on node image deployment

Nodes are provided in ISO format.  These ISO images can be deployed by either:
1. Writing the image to a CD
2. Writing the image to USB flash using livecd-iso-to-disk utility
3. Creating pxe bootable files using livecd-iso-to-pxeboot utility

To burn a Node image to a usb stick accessible as /dev/sdb:
livecd-iso-to-disk --format /usr/share/ovirt-node-image/ovirt-node-image.iso /dev/sdb

To create vmlinuz and initrd images suitable for pxe booting:
livecd-iso-to-pxeboot /usr/share/ovirt-node-image/ovirt-node-image.iso

The output of livecd-iso-to-pxeboot is a directory called tftpboot that has the
following files in it:
./pxelinux.0
./pxelinux.cfg/default
./vmlinuz0
./initrd0.img

The vmlinuz0/initrd0.img files can be imported into a cobbler server or any
other PXE/tftp server.  pxelinux.cfg/default provides a template for
configuring the pxe server to export the Node image:

DEFAULT pxeboot
TIMEOUT 20
PROMPT 0
LABEL pxeboot
      KERNEL vmlinuz0
      APPEND rootflags=loop initrd=initrd0.img root=/ovirt-node-image.iso rootfstype=auto ro liveimg check rootfstype=iso9660 elevator=deadline
ONERROR LOCALBOOT 0

In addition, PXE booted Nodes rely on the PXE server passing the mac address
of the pxe interface to the kernel.  This is provided by using the IPAPPEND 2
parameter as follows:

DEFAULT pxeboot
TIMEOUT 20
PROMPT 0
LABEL pxeboot
      KERNEL vmlinuz0
      IPAPPEND 2
      APPEND rootflags=loop initrd=initrd0.img root=/ovirt-node-image.iso rootfstype=auto ro liveimg check rootfstype=iso9660 elevator=deadline
ONERROR LOCALBOOT 0
shortlog
2009-11-03 David Huffadded export in autobuild.sh to fix autobuild issuemaster
2009-10-14 David Huffremoved ks files now in ovirt-node-recipe, which is...
2009-10-14 David Huffremoved tools, these are now in ovirt-node-recipe which...
2009-10-14 David Huffmodified spec file for inclusion in Fedora
2009-10-14 David HuffModified makefile for fedora
2009-10-05 Joey Boggsenable dca kernel module for igb kernel module support
2009-09-30 Michael Burnsadd /var/lib/dnsmasq to rwtab
2009-09-26 Michael BurnsMake multipath work with with r/o root fs
2009-09-26 Michael Burnsadd handling for multipath
2009-09-26 Joey Boggsupdate rwtab entries for /live,/boot, and /var/lib...
2009-09-18 Joey Boggsreadonly rootfs setup
2009-09-16 Darryl L. PierceChanged packages and dependencies so virt-manager-tui...
2009-09-16 Joey Boggsadd livecd-iso-to-iscsi script to support iscsi root...
2009-09-15 Alan Peveckeep NIC and HBA firmwares
2009-09-03 Alan PevecReset Spec Release to 0 and increment minor version...
2009-09-03 Alan PevecSet spec 'Release' to 1
...
heads
15 years ago master