PDA

View Full Version : [xubuntu] My kickstart script is not working on partition part



bbmak
November 25th, 2008, 02:23 AM
Hi,
I always used server with kickstart script to deploy ubuntu to new installed clients.

However, my old 8.04 kickstart script is not working on 8.10. It stops on the partition part

My clients are using 20 gig hard drive, and I want to use the whole hard drive for ubuntu

partition part

#System bootloader configuration
bootloader --location=mbr
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel
#Disk partitioning information
part /boot --fstype ext2 --size 100
part swap --size 512
part / --fstype xfs --size 1 --grow


whole script

#Generated by Kickstart Configurator
#platform=x86

#System language
lang en_US
#Language modules to install
langsupport en_US
#System keyboard
keyboard us
#System mouse
mouse
#System timezone
timezone --utc America/Los_Angeles
#Root password
rootpw --disabled
#Initial user
user bbmak --fullname "Reece Mak" --password xxxxx
#Reboot after installation
reboot
#Use text mode install
text
#Install OS instead of upgrade
install
#Use Web installation
url --url http://ubuntu-archive.mirrors.proxad.net/ubuntu/
#System bootloader configuration
bootloader --location=mbr
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel
#Disk partitioning information
part /boot --fstype ext2 --size 100
part swap --size 512
part / --fstype xfs --size 1 --grow
#System authorization infomation
auth --useshadow --enablemd5
#Firewall configuration
firewall --disabled
#Do not configure the X Window System
skipx
#Package install information
%packages --resolvedeps
@ xubuntu-desktop
#Post Installation Script
%post
echo "nameserver 192.168.0.101" >> /etc/resolv.conf
echo "nameserver 68.94.156.1" >> /etc/resolv.conf
echo "nameserver 68.94.157.1" >> /etc/resolv.conf

bbmak
November 26th, 2008, 03:41 AM
bump...
any expert here???? for server deploying automated script ks.cfg????