--- /dev/null
+# $Id$
+
+#----------------------------------------------------------------------
+# General configuration
+
+VERSION := 0.1
+
+# i386 images also work on x86-64, so best to stick with i386.
+ARCH := i386
+
+LANG := en_US.UTF-8
+KEYBOARD := us
+TIMEZONE := US/Eastern
+
+BASEREPO := http://download.fedora.redhat.com/pub/fedora/linux/releases/7/Fedora/$(ARCH)/os/
+
+# Select a suitable HTTP proxy.
+# The default assumes a local squid proxy.
+export http_proxy := http://127.0.0.1:3128/
+export ftp_proxy := http://127.0.0.1:3128/
+
+#----------------------------------------------------------------------
+
+all:
+ @echo "make build Build the live CD ISO"
+ @echo "make boot [ISO=foo.iso] Boot the named ISO (uses qemu)"
+
+build: livecd-test.ks
+ livecd-creator \
+ --config=$< \
+ --fslabel=virt-p2v-$(VERSION)
+ ls -lhtr *.iso
+
+ISO = virt-p2v-$(VERSION).iso
+
+boot:
+ qemu -m 512 $(ISO)
+
+livecd-test.ks: livecd-test.ks.in Makefile
+ sed \
+ -e 's|@BASEREPO@|$(BASEREPO)|g' \
+ -e 's|@LANG@|$(LANG)|g' \
+ -e 's|@KEYBOARD@|$(KEYBOARD)|g' \
+ -e 's|@TIMEZONE@|$(TIMEZONE)|g' \
+ < $< > $@
\ No newline at end of file
--- /dev/null
+lang @LANG@
+keyboard @KEYBOARD@
+timezone @TIMEZONE@
+auth --useshadow --enablemd5
+selinux --enforcing
+firewall --disabled
+
+repo --name=a-dev --baseurl=@BASEREPO@
+
+%packages
+bash
+kernel
+syslinux
+passwd
+policycoreutils
+chkconfig
+authconfig
+rootfiles
+
+# dd, sleep, sync, etc.
+coreutils
+# dmsetup
+device-mapper
+# blockdev, mount, umount
+util-linux
+# modprobe
+module-init-tools
+# gzip
+gzip
+# ssh
+openssh-clients
+# nc
+nc
+
+
+
+# EOF