LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
LinkBack Search this Thread
Old 02-13-2007, 12:59 AM   #1
bbmak
Member
 
Registered: May 2004
Posts: 177

Rep: Reputation: 30
Kickstart automation deployment help


Hi:
I have successfully seting up the pxe deployment. I tried to create an unattended setup. I have created the ks.cfg

However, The setup is "semi" unattended. When I got to the part where the computer partition. It asked me to prompt the partition.

I want my installation to be fully unattended.
I want the whole disk to be formatted it, and use the centos default for setting up new copy of os
Can anybody help me edit my ks.cfg

partition part
Quote:
#Partition clearing information
clearpart --all --initlabel
full ks.cfg file
Quote:
#Generated by Kickstart Configurator
#platform=x86, AMD64, or Intel EM64T

#System language
lang en_US
#Language modules to install
langsupport --default=en_US
#System keyboard
keyboard us
#System mouse
mouse
#Sytem timezone
timezone America/Los_Angeles
#Root password
rootpw --iscrypted $1$8PObVT6A$E/2VfrKjUGdyZ227ko0oI.
#Reboot after installation
reboot
#Install OS instead of upgrade
install
#Use Web installation
url --url http://myserver.test.com/linux/centos
#System bootloader configuration
bootloader --location=mbr
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel
#System authorization infomation
auth --useshadow --enablemd5
#Firewall configuration
firewall --disabled
#Do not configure XWindows
skipx
#Package install information
%packages --resolvedeps
@ base-x
@ gnome-desktop
@ editors
@ graphical-internet
@ office
@ sound-and-video
@ server-cfg
@ smb-server
@ legacy-network-server
@ development-tools
@ gnome-software-development
@ legacy-software-development
@ admin-tools
@ system-tools

Last edited by bbmak; 02-13-2007 at 01:36 AM.
 
Old 02-14-2007, 09:56 AM   #2
james.farrow
Member
 
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 288

Rep: Reputation: 30
In your kickstart config youi have not defined any partitions. Have a look on redhat site for the RHEL manuals, its in there. I cant remember exactly of the top of my head exactly what to put there. I have a ks.cfg and it sets up LVM etc no problem. Not a my linux box now though.
 
Old 02-14-2007, 11:42 AM   #3
bbmak
Member
 
Registered: May 2004
Posts: 177

Original Poster
Rep: Reputation: 30
can you post your part of the ks.cfg ???
So I can take a look
 
Old 02-15-2007, 02:23 AM   #4
james.farrow
Member
 
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 288

Rep: Reputation: 30
Yeah I will do. Although for some strange reason I cannot access linuxquestions.org from home anymore??
Firefox times out 'waiting for finuxquestions.org'
Strange indeed, all other sites are accessible?? Anyway I'll tranfer it to usb stick and post it tomorrow. Sorry for the delay!!!

James
 
Old 02-15-2007, 02:27 AM   #5
bbmak
Member
 
Registered: May 2004
Posts: 177

Original Poster
Rep: Reputation: 30
I added this part in. But not sure am I correct or not. I want to use the whole hard disk.
Quote:
part /boot --fstype ext3 --size 100 --asprimary
part swap --recommended
part / --fstype ext3 --size 2048 --grow
 
Old 02-20-2007, 02:06 AM   #6
james.farrow
Member
 
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 288

Rep: Reputation: 30
Sorry for the late reply, here is a copy of ks.cfg that i use on fedora5 :-


install
nfs --server=bedroom.example.com --dir=/var/ftp/pub/fedora5/
lang en_US.UTF-8
langsupport --default=en_GB.UTF-8 en_GB.UTF-8
keyboard uk
xconfig --driver "radeon" --videoram 131008 --resolution 800x600 --depth 16 --startxonboot
monitor --hsync 31.5-37.9 --vsync 50-70
network --device eth0 --bootproto dhcp
rootpw --iscrypted $1$j5h6S8Cm$RbJV/LgRYPSlq7g9Kadca0
firewall --disabled
authconfig --enableshadow --enablemd5
selinux --enforcing
timezone Europe/London
bootloader --location=mbr --driveorder=sda --append="rhgb quiet"
# 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 --linux
clearpart --all
part /boot --fstype ext3 --size=100
part swap --size=512
part / --fstype ext3 --size=512
part pv.12 --size=100 --grow
volgroup VolGroup00 --pesize=32768 pv.12
logvol /tmp --fstype ext3 --name=LogVol01 --vgname=VolGroup00 --size=4224
logvol /usr --fstype ext3 --name=LogVol02 --vgname=VolGroup00 --size=29984
logvol /var --fstype ext3 --name=LogVol03 --vgname=VolGroup00 --size=29984
logvol /home --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=30048

%packages
@admin-tools
@authoring-and-publishing
@base
@base-x
@core
@development-libs
@development-tools
@dialup
@dns-server
@editors
@engineering-and-scientific
@ftp-server
@games
@kde-desktop
@kde-software-development
@gnome-desktop
@gnome-software-development
@graphical-internet
@graphics
@java
@java-development
@legacy-network-server
@mail-server
@mysql
@network-server
@office
@printing
@ruby
@server-cfg
@smb-server
@sound-and-video
@system-tools
@text-internet
@web-server
@x-software-development
bsf
comps-extras
cracklib-dicts
gal
gnome-mime-data
iso-codes
rmt
tzdata

%post
reboot


Hopefully it will give you some pointers.

James
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
automation bong.mau Programming 2 09-06-2005 03:26 PM
OpenOffice automation with C++ Paulo Ges Linux - Software 2 10-22-2004 08:55 AM
Permission Automation 0.o Linux - General 3 10-04-2004 01:32 PM
ftp automation Mad_C Linux - General 12 09-15-2003 08:57 AM
Deployment Software? Khabi Linux - Software 1 08-28-2003 02:40 PM


All times are GMT -5. The time now is 06:59 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration