5.4. Bootstrapping a machine that already has an OS
This particular recipe should be considered advanced. There are plenty of ways to make a custom system incompatible with the Genome tooling. Be sure you are comfortable with how /usr/sbin/genome-firstboot
works.
In some cases you might not want to reinstall the OS on a system in the Genome environment. This happens mostly for laptops where a developer simply wants a build environment so they can work "off the grid".
For this recipe the user simply needs to pass the --config-only option to genome-bootstrap to create the needed server-side configuration. Once that is done it's just a matter of installing the genome-firstboot RPM and editing /etc/sysconfig/genome-firstboot
. Here's an example config file:
RUN_BOOTSTRAP=YES export GENOME_REPO=genome-staging-repo.usersys.redhat.com export FQDN=arch-repo.usersys.redhat.com
It's always best to grab the RPMs from the Genome Repo you are going to use. That way you can be certain you are using a compatible version.