Foreman Discovery Image 2.0pre1 - testers wanted

Hello,

we have a new foreman discovery image (v1.9.91) which has some nice
features:

  • smaller in size (only 150 MB whole RAM disk)
  • much faster and easier to build (dropped ovirt-node support)
  • easier downstream building (in koji)
  • based on centos7 and fedora19
  • systemd and network manager full support (fast and reliable boot)
  • easier to troubleshoot

We have a centos7 build which can be seen as 2.0pre1. It was built
against Foreman nightly and it should work with Foreman 1.6 with latest
stable discovery plugin. We will follow up with rc1 and 2.0 release in
the upcoming weeks build against 1.6 proxy.

Download here:

https://lzap.fedorapeople.org/temp/foreman-discovery-2.0pre1/fdi-image-1.9.91.tar

Note we are changing the distribution format. Now it's a tar archive
containing the kernel, the image, md5sum and README files. Just copy to
the tftpboot directory and use different syslinux configuration:

LABEL discovery2
MENU LABEL Foreman Discovery 2.0 CentOS7
MENU DEFAULT
KERNEL boot/fdi-image/vmlinuz0
APPEND initrd=boot/fdi-image/initrd0.img rootflags=loop
root=live:/fdi.iso rootfstype=auto ro rd.live.image acpi=force rd.luks=0
rd.md=0 rd.dm=0 rd.lvm=0 rd.bootif=0 rd.neednet=0 nomodeset
foreman.url=http://xyz fdi.ssh=1 fdi.rootpw=redhat
IPAPPEND 2

Note the different root statement (fdi.iso and not foreman.iso) and also
new fdi.* statements which allows you to enable ssh and set root
password (useful for troubleshooting). Also note the rd.bootif and
rd.neednet options which are recommended now. The APPEND should be on
one line!

When reporting bugs, please use discovery-debug command and pastebin the
output. Use our RedMine tracker:

http://projects.theforeman.org/projects/discovery/issues/new

There is no fedora19 build yet since I backported one important fix into
facter which is a blocker for the discovery image (ifconfig output
parsing bug). Update is pending if fedora-testing repo:

https://admin.fedoraproject.org/updates/FEDORA-2014-13363/facter-1.6.18-7.fc19

Once we have that in fedora19, we will release (most likely 2.0) for
both fedora19 and centos7.

··· -- Later, Lukas #lzap Zapletal

Finally got around to testing this, sorry for the delay :slight_smile:

First, nice work! I like the new params in a single image (vs the
prod/debug images we had before) - it's much nicer to set ssh=1 and
rootpw=1234 and use the same image.

Quick comment - put the example syslinux config in the tarfile, so I
can just copy it to my template. That will also help avoid cut'n'paste
errors with linebreaks.

Is there a link to the git repo for building the image?

Greg

> Quick comment - put the example syslinux config in the tarfile, so I
> can just copy it to my template. That will also help avoid cut'n'paste
> errors with linebreaks.

Good one, will do.

> Is there a link to the git repo for building the image?

FYI 2.0 is out, do not use pre1 anymore :slight_smile:

Thanks for testing.

··· -- Later, Lukas #lzap Zapletal