Project

General

Profile

Actions

Feature #3478

closed

Create an RPM based image for booting

Added by Greg Sutcliffe over 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

TCL is hard to use and harder to maintain. We should switch to an RPM image

Work is already underway to integrate with oVirt as they have a solid, well-tested process for building ISOs. The plan is to

1) Make Discovery work with a modified version of their kickstarts (see: https://github.com/GregSutcliffe/ovirt-node/tree/foreman-wip for a start)
2) Refactor ovirt-node into a "base" image + plugins (one plugin to create the oVirt ISO, one plugin to create Discovery ISO)
3) Add optional nice to have stuff (like 3rd party facts, etc)

See http://www.ovirt.org/Node_Building#Build_Process_for_oVirt_Node for how to build an ISO, and https://github.com/GregSutcliffe/ovirt-node/blob/foreman-wip/recipe/build.sh for my hacked-up script variant.

Actions #1

Updated by Greg Sutcliffe over 10 years ago

Current status is that the ovirt team had problems building my image using the Git branch in the description, so we need to prove it still builds.

Actions #2

Updated by Greg Sutcliffe over 10 years ago

Here are my steps to build an image on a fresh f19 host (run as root to avoid sudo problems:

Actions #3

Updated by Greg Sutcliffe over 10 years ago

You'll also want something like this in `pxelinux.cfg/default`:

LABEL ovirt
MENU LABEL Boot oVirt Image
KERNEL boot/vmlinuz0
APPEND rootflags=loop initrd=boot/initrd0.img root=live:/foreman.iso rootfstype=auto ro rd.live.image rd.live.check rd.lvm=0 rootflags=ro crashkernel=128M elevator=deadline install quiet max_loop=256 rhgb rd.luks=0 rd.md=0 rd.dm=0 foreman_ip=192.168.122.1:3000 stateless
Actions #4

Updated by Greg Sutcliffe over 10 years ago

  • Assignee changed from Greg Sutcliffe to Lukas Zapletal
Actions #5

Updated by Lukas Zapletal over 10 years ago

Here is my updated pxelinux config:

LABEL nodediscovery
MENU LABEL Node Discovery oVirt
KERNEL boot/oVirt-vmlinuz
APPEND rootflags=loop initrd=boot/oVirt-initrd.img root=live:/foreman.iso rootfstype=auto ro rd.live.image rd.live.check rd.lvm=0 rootflags=ro crashkernel=128M elevator=deadline max_loop=256 rd.luks=0 rd.md=0 rd.dm=0 foreman_ip=foreman.virtual.lan selinux=0 stateless
Actions #6

Updated by Lukas Zapletal over 10 years ago

  • Target version changed from 1.15.0 to 1.10.0
Actions #7

Updated by Dominic Cleal over 10 years ago

  • Status changed from Assigned to Ready For Testing
Actions #8

Updated by Dominic Cleal over 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #9

Updated by Dominic Cleal over 10 years ago

  • Tracker changed from Bug to Feature
Actions #10

Updated by Lukas Zapletal over 5 years ago

  • Target version deleted (589)
  • Triaged set to No
Actions

Also available in: Atom PDF