diff options
| author | Brenton Leanhardt <bleanhar@redhat.com> | 2008-07-01 10:18:19 -0400 |
|---|---|---|
| committer | Brenton Leanhardt <bleanhar@redhat.com> | 2008-07-01 10:24:40 -0400 |
| commit | b09e1870749c86dc177ad677ef4200536e045f68 (patch) | |
| tree | c43bc81e27f00da41b52e51136621f000e99a5c1 | |
| parent | 537d79232d2fdc5fee6d5617b6897ac96df33cc8 (diff) | |
Adding some default Fedora 8 kickstart templates
| -rw-r--r-- | everest-repo/everest-repo-1.0.0/F8.ks | 63 | ||||
| -rw-r--r-- | everest-repo/everest-repo.spec | 3 |
2 files changed, 65 insertions, 1 deletions
diff --git a/everest-repo/everest-repo-1.0.0/F8.ks b/everest-repo/everest-repo-1.0.0/F8.ks new file mode 100644 index 0000000..1988d70 --- /dev/null +++ b/everest-repo/everest-repo-1.0.0/F8.ks @@ -0,0 +1,63 @@ + +#platform=x86, AMD64, or Intel EM64T +# System authorization information +auth --useshadow --enablemd5 +# System bootloader configuration +bootloader --location=mbr +# Partition clearing information +clearpart --all --initlabel +# Use text mode install +text +# Firewall configuration +firewall --disabled +# Run the Setup Agent on first boot +firstboot --disable +# System keyboard +keyboard us +# System language +lang en_US +# Use network installation +url --url=$tree +key --skip + +# If any cobbler repo definitions were referenced in the kickstart profile, include them here. +$yum_repo_stanza + +# Network information +network --bootproto=dhcp --device=eth0 --onboot=on --noipv6 +# Reboot after installation +reboot + +#Root password +rootpw --iscrypted $1$z8ATNbdx$URqSRM3RkCgBCTIKD4Z3W. +# SELinux configuration +selinux --disabled +# Do not configure the X Window System +skipx +# System timezone +timezone America/New_York +# Install OS instead of upgrade +install +# Clear the Master Boot Record +zerombr + +# Magically figure out how to partition this thing +%include /tmp/partinfo + +%pre +# Auto partitioning +SNIPPET::partition_select + +%packages +git-core +puppet +everest-firstboot + +%post +FIRSTBOOT_CFG=/etc/sysconfig/everest-firstboot +echo RUN_BOOTSTRAP=YES > $FIRSTBOOT_CFG +echo export EVEREST_REPO=$everest_repo >> $FIRSTBOOT_CFG +echo export FQDN=$fqdn >> $FIRSTBOOT_CFG + +$yum_config_stanza +$kickstart_done diff --git a/everest-repo/everest-repo.spec b/everest-repo/everest-repo.spec index f4e3d4b..83e62b1 100644 --- a/everest-repo/everest-repo.spec +++ b/everest-repo/everest-repo.spec @@ -1,6 +1,6 @@ Name: everest-repo Version: 1.0.0 -Release: 19%{?dist} +Release: 20%{?dist} Summary: Everest repository Group: Applications/System @@ -62,6 +62,7 @@ rm -rf $RPM_BUILD_ROOT /etc/everest/bootstrap.pp /etc/cobbler/EverestRepo.ks /etc/cobbler/EverestCloud.ks +/etc/cobbler/F8.ks %config(noreplace) /etc/everest/repo.yaml %config(noreplace) /etc/everest/machine_types.rb |
