Kickstart?

Tim Moloney yellowdog-general@lists.terrasoftsolutions.com
Fri May 9 09:07:01 2003


This is a multi-part message in MIME format.
--------------000505030002070801000804
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Owen Stampflee wrote:

>>YDL-3.0 also uses the redhat installer, so in theory theory could use the 
>>standard redhat kickstart stuff, though I'm not sure if 3.0 has support 
>>for that.
> 
> The kickstart portion of the installer was disabled as there were some
> problems with it. Maybe it will be functional in the next release.

I have successfully used the attached kickstart configuration file to
perform an unattended install on my G4 PowerMac.

I've only started my experimentation with the kickstart functionality
in Yellow Dog's version of anaconda.  Although I've run into several
problems (lack of documentation being the biggest), kickstart in YDL
3.0 certainly isn't disabled.

-- 
Tim Moloney
ManTech Real-time Systems Laboratory
2015 Cattlemen Road                             \     /
Sarasota, FL  34232                     .________\(O)/________.
(941) 377-6775 x208                        '  '  O(.)O  '  '





--------------000505030002070801000804
Content-Type: text/plain;
 name="g4powermac.ks"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="g4powermac.ks"

#
#  cvpm.ks
#
#  Kickstart file manually generated by Tim Moloney for cvpm.
#
#  The version of anaconda used by Yellow Dog Linux does not automatically
#  generate a kickstart file.
#
#  To use this file use the following command at the boot: prompt.
#
#    boot: install ks=http://moloney.mrsl.com/cvpm.ks
#

install
cdrom
lang en_US.UTF-8
langsupport --default en_US.UTF-8 en_US.UTF-8
keyboard us
mouse generic1usb --device input/mice
xconfig --card "ATI Rage 128" --videoram 16384 --monitor "ViewSonic PT813" --resolution 1280x1024 --depth 16 --startxonboot --defaultdesktop gnome
network --device eth0 --bootproto dhcp
rootpw changeme
firewall --disabled
authconfig --enableshadow --enablemd5 --enableldap --enableldapauth --ldapserver ldap.mrsl.com --ldapbasedn dc=mrsl,dc=com
timezone --utc America/New_York
bootloader --location=none
reboot
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --all
part /yaboot --size    1 --fstype "Apple Bootstrap"
part swap    --size  256 --fstype swap
part /       --size 5120 --fstype ext3 --grow

%packages
@ Everything

%post

#
#  Cleanup from odd/incomplete handling of partitions in the Yellow Dog Linux
#  version of anaconda/kickstart.
#
mkdir /yaboot
mv /etc/fstab /etc/fstab.orig
sed -e 's/Apple Bootstrap/hfs/g' < /etc/fstab.orig > /etc/fstab

#
#  Create home directories for new LDAP users.
#
echo "session     required      /lib/security/pam_mkhomedir.so skel=/etc/skel umask=0022" >> /etc/pam.d/system-auth


--------------000505030002070801000804--