On Wed, Jan 26, 2011 at 03:27:40PM +0000, Robert Cross wrote:
Is there a way to run a snippet against a system without having to
reinstall it? Reason I'm asking is because I want to generate some of
these to do various little tasks, (e.g. setup hosts, update up2date on
RHEL4), but want an easy way to test them (like I said, without having
to do an install each time).
2 ideas maybe helping:
- deploy virtual systems, similiar in the relevant aspects to the real
systems. Used vmware in the past, nowadays kvm for this.
Can be faster than deployment of real systems.
- when making the snippets compatible with a newer version of cobbler
(2.0.1 upwards got pickier about $variables that were not defined)
one can also simply compare the generated ks-instructions:
cobbler system getks --name=sakura >getks_old
# then updating cobbler, modifying the snippets so newer cobbler
# handles them
cobbler system getks --name=sakura >getks_new
# lets see if we also get same instructions
diff getks_old getks_new
Christian