[Fedora-spins] [PATCH] refactor aos for f11

David Huff dhuff at redhat.com
Mon Feb 23 21:27:42 UTC 2009


added support for sreial console
removed acpi
added extra devices
added aos-base-pkg snippet
---
 fedora-aos.ks |   33 +++++++++++++++++++++------------
 1 files changed, 21 insertions(+), 12 deletions(-)

diff --git a/fedora-aos.ks b/fedora-aos.ks
index ff0ee42..ca821ad 100644
--- a/fedora-aos.ks
+++ b/fedora-aos.ks
@@ -1,22 +1,31 @@
 # 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 --permissive
 firewall --disabled
-bootloader --timeout=1 --append="acpi=force"
+bootloader --timeout=1 --append="console=tty0 console=ttyS0,115200n8"
 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/
 
 #
+#Add kernel modules
+#
+device virtio_blk
+device virtio_pci
+device scsi_wait_scan
+
+#
 # Partition Information. Change this as necessary
 # This information is used by appliance-tools but
 # not by the livecd tools.
@@ -27,21 +36,21 @@ part / --size 550 --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-10&arch=$basearch
+repo --name=released --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-11&arch=$basearch
 # To include updates, use the following "repo" (enabled by default)
-#repo --name=updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f10&arch=$basearch
+repo --name=updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f11&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
+#repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
 
 # To compose against local trees, (edit and) use:
-#repo --name=f10 --baseurl=http://localrepo/fedora/releases/10/Everything/$basearch/os/
-#repo --name=f10-updates --baseurl=http://localrepo/fedora/updates/10/$basearch/
+#repo --name=f11 --baseurl=http://localrepo/fedora/releases/10/Everything/$basearch/os/
+#repo --name=f11-updates --baseurl=http://localrepo/fedora/updates/10/$basearch/
 
 #
 # Add all the packages after the base packages
 #
-%packages --excludedocs --nobase
+%packages --excludedocs --nobase --instLang=en
 bash
 kernel
 grub
@@ -51,8 +60,10 @@ policycoreutils
 chkconfig
 rootfiles
 yum
-vim-minimal
-acpid
+
+#for nice power off in xen
+#acpid
+
 #needed to disable selinux
 lokkit
 
@@ -64,8 +75,6 @@ iputils
 # Packages to Remove
 #
 
-# no need for kudzu if the hardware doesn't change
--kudzu
 -prelink
 -setserial
 -ed
@@ -98,6 +107,7 @@ iputils
 -fedora-logos
 generic-logos
 -fedora-release-notes
+
 %end
 
 #
@@ -106,4 +116,3 @@ generic-logos
 %post
 
 %end
-
-- 
1.6.0.6




More information about the spins mailing list