Thanks -- worked great!
-Corey
-----Original Message-----
From: cobbler-bounces(a)lists.fedorahosted.org
[mailto:cobbler-bounces@lists.fedorahosted.org] On Behalf Of Jeff Schroeder
Sent: Thursday, May 28, 2009 9:28 AM
To: cobbler mailing list
Subject: Re: Cobbler KS with GNOME
On Thu, May 28, 2009 at 6:11 AM, Corey Garst <cgarst(a)tresys.com> wrote:
Could someone tell me what I have to add to install with GNOME on
boot?
I'm using a KS template based off of the sample.ks that comes with
cobbler. I've tried adding "xconfig --startxonboot" but X fails because
the packages aren't installed. I'm not sure where in this KS file I can
specify to install X and GNOME packages.
Add the packages or package groups you want under the %packages
directive in your kickstart template. Read through this and you'll get
it:
http://fedoraproject.org/wiki/Anaconda/Kickstart#Chapter_3._Package_Selec...
Package groups might have slightly different names depending on the
distro you are installing. Run "yum grouplist | grep -i gnome" to find
the right grouplist name to install Gnome. More than likely, you just
need to add this:
@GNOME Desktop Environment
#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 --enabled
# Run the Setup Agent on first boot
firstboot --disable
# System keyboard
keyboard us
# System language
lang en_US
# Use network installation
url --url=$tree
# If any cobbler repo definitions were referenced in the kickstart
profile, include them here.
$yum_repo_stanza
# Network information
$SNIPPET('network_config')
# Reboot after installation
reboot
#Root password
rootpw --iscrypted $default_password_crypted
# SELinux configuration
selinux --enforcing
# Do not configure the X Window System
skipx
#xconfig --startxonboot
# System timezone
timezone America/New_York
# Install OS instead of upgrade
install
# Clear the Master Boot Record
zerombr
# Allow anaconda to partition the system as needed
autopart
%pre
$SNIPPET('log_ks_pre')
$kickstart_start
$SNIPPET('pre_install_network_config')
# Enable installation monitoring
$SNIPPET('pre_anamon')
%packages
$SNIPPET('func_install_if_enabled')
%post
$SNIPPET('log_ks_post')
# Start yum configuration
$yum_config_stanza
# End yum configuration
$SNIPPET('post_install_kernel_options')
$SNIPPET('post_install_network_config')
$SNIPPET('func_register_if_enabled')
$SNIPPET('download_config_files')
$SNIPPET('koan_environment')
$SNIPPET('redhat_register')
$SNIPPET('cobbler_register')
# Enable post-install boot notification
$SNIPPET('post_anamon')
# Start final steps
$kickstart_done
# End final steps
Corey Garst
--
Jeff Schroeder
Don't drink and derive, alcohol and analysis don't mix.
http://www.digitalprognosis.com
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler