From 775c630bbbb636a9034f685cfcb3f4136b93697a Mon Sep 17 00:00:00 2001 From: "Jeroen van Meeuwen (Fedora Unity)" Date: Thu, 28 Aug 2008 12:19:50 +0200 Subject: [PATCH 1/3] Cosmetic changes --- fedora-live-base.ks | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fedora-live-base.ks b/fedora-live-base.ks index 61b8bc7..6f76bf3 100644 --- a/fedora-live-base.ks +++ b/fedora-live-base.ks @@ -25,7 +25,7 @@ services --enabled=NetworkManager --disabled=network,sshd # To compose against rawhide, use the following "repo" (disabled by default) repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch -# To compose against local trees, use: +# To compose against local trees, (edit and) use: #repo --name=f9 --baseurl=http://localrepo/fedora/releases/9/Everything/$basearch/os/ #repo --name=f9-updates --baseurl=http://localrepo/fedora/updates/9/$basearch/ @@ -149,7 +149,7 @@ mountPersistentHome() { } findPersistentHome() { - for arg in \`cat /proc/cmdline\` ; do + for arg in \`cat /proc/cmdline\` ; do if [ "\${arg##persistenthome=}" != "\${arg}" ]; then homedev=\${arg##persistenthome=} return From e25600d498e74adb03b64d2a1bc20683c33f5df4 Mon Sep 17 00:00:00 2001 From: "Jeroen van Meeuwen (Fedora Unity)" Date: Thu, 28 Aug 2008 12:26:57 +0200 Subject: [PATCH 2/3] Add fedora-aos.ks --- fedora-aos.ks | 109 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 fedora-aos.ks diff --git a/fedora-aos.ks b/fedora-aos.ks new file mode 100644 index 0000000..a1b11ee --- /dev/null +++ b/fedora-aos.ks @@ -0,0 +1,109 @@ +# Kickstart file to build the appliance operating +# system for fedora. +# This is based on the work at http://www.thincrust.net +lang C +keyboard us +timezone US/Eastern +auth --useshadow --enablemd5 +selinux --disabled +firewall --disabled +bootloader --timeout=1 --append="acpi=force" +network --bootproto=dhcp --device=eth0 --onboot=on +services --enabled=network + +# Uncomment the next line +# to make the root password be thincrust +# By default the root password is emptied +#rootpw --iscrypted $1$uw6MV$m6VtUWPed4SqgoW6fKfTZ/ + +# +# Partition Information. Change this as necessary +# This information is used by appliance-tools but +# not by the livecd tools. +# +part / --size 450 --fstype ext3 --ondisk sda + +# +# Repositories +# +# To compose against the current release tree, use the following "repo" (enabled by default) +#repo --name=released --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-9&arch=$basearch +# To include updates, use the following "repo" (enabled by default) +#repo --name=updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f9&arch=$basearch + +# To compose against rawhide, use the following "repo" (disabled by default) +repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch + +# To compose against local trees, (edit and) use: +#repo --name=f9 --baseurl=http://localrepo/fedora/releases/9/Everything/$basearch/os/ +#repo --name=f9-updates --baseurl=http://localrepo/fedora/updates/9/$basearch/ + +# +# Add all the packages after the base packages +# +%packages --excludedocs --nobase +bash +kernel +grub +e2fsprogs +passwd +policycoreutils +chkconfig +rootfiles +yum +vim-minimal +acpid +#needed to disable selinux +lokkit + +#Allow for dhcp access +dhclient +iputils + +# +# Packages to Remove +# + +# no need for kudzu if the hardware doesn't change +-kudzu +-prelink +-setserial +-ed + +# Remove the authconfig pieces +-authconfig +-rhpl +-wireless-tools + +# Remove the kbd bits +-kbd +-usermode + +# these are all kind of overkill but get pulled in by mkinitrd ordering +-mkinitrd +-kpartx +-dmraid +-mdadm +-lvm2 +-tar + +# selinux toolchain of policycoreutils, libsemanage, ustr +-policycoreutils +-checkpolicy +-selinux-policy* +-libselinux-python +-libselinux + +# Things it would be nice to loose +-fedora-logos +generic-logos +-fedora-release-notes +%end + +# +# Add custom post scripts after the base post. +# +%post + +%end + From 20f6c718e259f981a7f0679c2f6af790776ae363 Mon Sep 17 00:00:00 2001 From: "Jeroen van Meeuwen (Fedora Unity)" Date: Thu, 28 Aug 2008 15:09:27 +0200 Subject: [PATCH 3/3] Add fedora-aos.ks --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index 3214080..bd13d23 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,6 +2,7 @@ kickstartdir = $(pkgdatadir)/ kickstart_DATA = \ + fedora-aos.ks \ fedora-live-base.ks \ fedora-livecd-desktop-de_DE.ks \ fedora-livecd-desktop-default.ks \