I am building these images in an automated (nightly) fashion on ec2 and would prefer a
method which doesn't require me to spun up a VM on a ec2 machine.
Oz works great when I have the ability to running a VM and if it is the only option at the
moment then I will use it but still looking for alternatives.
On Jul 15, 2013, at 9:21 AM, Kashyap Chamarthy <kchamart(a)redhat.com> wrote:
On 07/15/2013 09:42 PM, Krishna Raman wrote:
> When building on a f19 system, is appliance-creator still the best way to build F19
> images or should I be using something else?
I recommend Oz (that's what I use all the time to create JEOS images):
Here's a simple script (which provides a simple Oz TDL, and calls
# Fetch the script
$ wget https://github.com/kashyapc/virt-scripts/blob/master/oz/oz-jeos.bash
# Run the oz script (it'll take 5 minutes or so):
$ ./oz-jeos.bash f19-devstack-new f19
# Once install is finished, define the just thrown XML file
# (the below is just an example, change it appropriately)
$ virsh define f19-jeosJul_04_2013-12
# Start the guest over serial console
$ virsh start f19-jeos --console
You can adjust the TDL section of the script according to your needs.
For instance, if you need a 3G disk image (Oz by default creates 10G), you can use this
$ cat f19disk3gb.tdl
$ oz-install /path/to/tdl file