LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-22-2007, 04:23 AM   #1
bbmak
Member
 
Registered: May 2004
Posts: 178

Rep: Reputation: 30
kickstart + first run once script..


I am using kickstart to do automation installation for ubuntu desktop, and now i want to put a post-installation bash script in the kickstart.cfg
So the script will run once after the installation.

Can you help me to modify the kickstart script, so another bash script will run once after the ubuntu installtion

my kickstart.cfg
Quote:
#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 xxxxxx
#Reboot after installation
reboot
#Use text mode install
text
#Install OS instead of upgrade
install
#Use Web installation
url --url http://mirror.anl.gov/pub/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 ext3 --size 64 --asprimary --onpart=hda3
part swap --size 1024 --onpart=hda2
part / --fstype ext3 --size 2048 --grow --onpart=hda1
#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
xmms
xmms-wma
pidgin
konqueror
wine
nfs-common
samba
portmap
flashplugin-nonfree
debian-multimedia-keyring
 
Old 12-23-2007, 06:49 PM   #2
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 1,924

Rep: Reputation: 278Reputation: 278Reputation: 278
The scripts you want to look at:

/usr/share/debhelper
/usr/share/debconf

or whatever they're called in Ubuntu.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I call a .sh script from a kickstart file? below_average Linux - Software 2 01-17-2008 10:46 AM
running %post script for Mailserver through kickstart abhi2778 Fedora 0 09-06-2006 04:12 AM
kernel module not installing from kickstart script Captain Morgan Linux - General 0 06-12-2006 09:51 AM
Unable to run post-Installation kickstart scripts zoulo Linux - Enterprise 0 07-05-2005 04:26 AM
on Network Up Script run? On Battery power run script? v2-ncl Linux - General 0 12-08-2003 10:34 AM


All times are GMT -5. The time now is 08:38 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration