Questions tagged [kickstart]

Kickstart is the method of automated installation of Linux Systems based on Red Hat or their clones (CentOS, Scientific Linux, Unbreakable Linux, ...)

296 questions
3
votes
3 answers

How do I specify a driver disk image that is on the local cdrom?

I have a working RedHat kickstart, but I need it to load a RAID storage driver at the outset. I have the driver for this RAID card, all packaged up in a nice driver disk image. How do I specify (either with the kernel command line 'dd' or the…
Joe
  • 214
  • 1
  • 4
  • 10
3
votes
1 answer

Ubuntu Server 12.04: How does one configure the firewall during installation?

I'm following instructions to automate the installation of Ubuntu Server 12.04 using kickstart. It works well for automatically partitioning the drives, selecting languages etc. However, it doesn't configure the firewall. It is a known…
bloudraak
  • 462
  • 2
  • 5
  • 14
3
votes
1 answer

Kickstart Key Error /dev/sda

I'm attempting to use a Kickstart file to provision a Thinkmate server that has 8 SDDs (0-7). The kickstart file I'm using is a slightly edited version of one that we successfully use all over our environment. The only change I made was to only…
S.C.
  • 143
  • 1
  • 2
  • 6
3
votes
2 answers

examples of kickstart files for CentOS 5.3

I want to install CentOS as a server os using kickstart. I know normally you can install a system and get a copy of the kickstart file with the installation options you selected at install time. I'm totally blind though so the install is…
Jared
  • 1,420
  • 2
  • 16
  • 23
3
votes
2 answers

rhel6 kickstart provisioning of a pair of SSD as a striped LVM as /data

I'm doing something like this and formatting the filesystem is taking a long time so I'm guessing I have something wrong. sda is spinning and sdb, sdc and sdd are SSD. clearpart --drives=sda,sdb,sdc,sdd --initlabel part swap --recommended…
alan laird
  • 41
  • 1
  • 6
3
votes
2 answers

Does `mkisofs` modify the boot image and/or boot catalog?

I've been playing around with Kickstart on RHEL 6.2, and that involves re-mastering the install ISO. I've noticed something strange, though. If I issue the following command once (where diskFiles is the directory I've kept the DVD files)... mkisofs…
3
votes
2 answers

PyCURL couldn't resolve "cdrom:sr0" during CentOS 6.2 kickstart installation

I'm trying to install CentOS 6.2 by kickstart, and I'm using the stock minimal ISO and the auto-generated anaconda-ks.cfg. After the installation finished partition the hard drive, I get an error message saying "Unable to read package metadata", and…
Ye Liu
  • 161
  • 1
  • 7
3
votes
3 answers

CentOS 6 - How to modify iptables during kickstart install?

I'm having trouble modifying iptables configuration during a customized kickstart installation of CentOS 6. The kickstart process is installing several custom RPMs on top of a minimal ISO image. One of the rpms attempts to modify the iptables…
bfallik-bamboom
  • 227
  • 4
  • 7
3
votes
1 answer

Choosing a device name under /dev from the kernel command line

I am booting CentOS via a USB install. The boot method is simply booting the ISO from GRUB2 installed on the USB Key and then grabbing a Kickstart file from a server in the net. The Kickstart file is supposed to format the first harddrive labled…
oz123
  • 1,258
  • 5
  • 17
  • 34
3
votes
5 answers

CentOS 5.5 Install Customization

I'm having a frustrating time with customizing my initial CentOS 5.5 installation. I want to have a specific set of the packages installed (e.g. I want Java and httpd but not OpenOffice or NewsServer) but each time I carefully go through all the…
McKAMEY
  • 635
  • 1
  • 6
  • 14
3
votes
2 answers

Automating MySQL configuration with kickstart

I've been testing deployment for a website with some virtual servers. I have most of my deployment steps done via kickstart file (package installation and user creation). However, for MySQL I have to: Run mysql_secure_installation (sets up root…
Belmin Fernandez
  • 10,799
  • 27
  • 84
  • 148
3
votes
2 answers

When are root's SSH keys generated?

I have hosts with and without keys in /root/.ssh. I've noticed before some on screen feedback for SSH key generation on start up (first time.) But I am not sure what the catalyst is. I have looked in /root/anaconda-ks.cfg and don't see anything…
Aaron Copley
  • 12,525
  • 5
  • 47
  • 68
2
votes
1 answer

Kickstart create users and add to groups

I'm doing a CentOS 8 automated install. I've previously had no problem creating a single user and adding it to a group like so: user --name=othername --password=big_long_hash --iscrypted --groups=myname --homedir=/var/ftp…
miken32
  • 942
  • 1
  • 13
  • 35
2
votes
1 answer

Can I use variables when referring to volume groups and logical volumes in a kickstart file?

I have variables set up in the %pre section that look like this: %pre VOLGROUP=$(lvdisplay |grep VG | awk '{print $3}' |head -1) vgchange -a y $VOLGROUP ROOTVOL=$(lvdisplay |grep root | grep Path | awk '{print $3}') HOMEVOL=$(lvdisplay |grep home |…
mr.zog
  • 923
  • 3
  • 20
  • 39
2
votes
1 answer

Kickstart install: what disk name should I tell Anaconda to use? (Installer running from USB thumb drive.)

I'm running the CentOS 7.6 installer from a USB thumb drive using a kickstart file. I'm installing to a system that has only one disk. In the bash shell of the installer, my system's hard drive shows up as /dev/sdb. The installer sees the USB drive…
mr.zog
  • 923
  • 3
  • 20
  • 39