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
6
votes
1 answer

CentOS Kickstart on KVM doesn't clear partition labels

I used a kickstart file with the command clearpart --all --initlabel to make sure anaconda would clear any disks before trying to create and format new partitions. This has worked in the past for me, on physical machines. However, when doing so on a…
Kenny Rasschaert
  • 9,045
  • 3
  • 42
  • 58
6
votes
1 answer

Kickstart SSH usage

I have a small Kickstart script which (among other things) connects to our Puppet master, approves the certificate request and then creates a basic framework for a new server. Within my Kickstart post section I have the following commands. # Run…
Tim Brigham
  • 15,545
  • 10
  • 75
  • 115
6
votes
3 answers

How to build a driver disk for an anaconda install (CentOS 6)

I need to make a driver disk for anaconda. This disk would contain an updated module for the network card of a somewhat recent laptop and the goal is to get a network install of CentOS 6.2 working. I am using cobbler so even the kickstart file…
chutz
  • 7,888
  • 1
  • 29
  • 59
6
votes
4 answers

Installing yum repositories that are specified in kickstart file

Right now, I am specifying repositories to be used for installation in the kickstart file via the repo directive. I am then, re-specifying those repositories to be added to the /etc/yum.repos.d post-installation. Is there an elegant way to avoid the…
Belmin Fernandez
  • 10,799
  • 27
  • 84
  • 148
6
votes
2 answers

Tips for optimizing RHEL/CentOS kickstart workflow

I'm working in an environment that consists of CentOS systems located in multiple data centers and office locations. I've been using a reasonable kickstart with a solid post-install script, but want to streamline and expand the process. We have our…
ewwhite
  • 197,159
  • 92
  • 443
  • 809
6
votes
1 answer

Logging all the commands executed during a kickstart installation to file and screen

I'm using the following kickstart post installation logging options: %post exec < /dev/tty3 > /dev/tty3 chvt 3 echo echo "################################" echo "# Running Post Configuration #" echo "################################" (…
3laz3r
  • 63
  • 1
  • 1
  • 4
6
votes
2 answers

Create kickstart configuration file from existing configuration

Is there a script or another way to automatically generate a kickstart configuration file from the system state of an existing server so that the file can be use to replicate (not clone) the configuration of the system in another install? I know…
ÜMineiro
  • 63
  • 1
  • 1
  • 5
5
votes
2 answers

How do I force Anaconda's SCAP add-on to let me use a USB keyboard?

The problem I'm creating an RHEL 7.3 installation image with a custom kickstart file. I can add this to my kickstart file to enable SCAP configuration during installation: %addon org_fedora_oscap content-type = scap-security-guide profile =…
Alex P
  • 181
  • 8
5
votes
3 answers

Best way to secure Kickstart encrypted partition passwords

I have a CentOS 6.5 environment that boots up servers using Kickstart. One of the requirements of our Kickstart is that the partitions are encrypted. Since Anaconda can only take plain text passwords for LUKS encrypted partitions, what's the best…
chizou
  • 477
  • 3
  • 8
  • 18
5
votes
2 answers

How can I answer the "scan another CD" prompt during Debian install with preseed?

I've got a preseeded install from cdrom working smoothly, except for ONE prompt. It does the scan of the cdrom before installing software, and asks me if I want to insert an additional CD to scan. Is there any way to force this question to be…
Nathan Neulinger
  • 607
  • 1
  • 6
  • 17
5
votes
4 answers

Anaconda kickstart and rootpw option

I've tried a few different methods of generating an encrypted password on SL 6.5, but nothing seems to work for me. I'm not finding any errors anywhere in the various /var/log/anaconda* files, but I can't log in so it's obviously not working. The…
miken32
  • 942
  • 1
  • 13
  • 35
5
votes
3 answers

Rebuild Fedora 19 ISO adding Kickstart for USB install

I am attempting to edit a Fedora 19 DVD ISO to add a kickstart file. I then need this ISO burnt to a USB stick for instillation. The error I get when booting is Warning: Could not boot. Warning: /dev/root does not exist To try and determine which…
dooffas
  • 315
  • 2
  • 5
  • 11
5
votes
2 answers

Automated Linux VMs on Hyper-V 2012

I have a requirement to create a ton of linux VMs for our customers (we run managed infrastructure) on Hyper-V 2012 in the coming months and I have an issue with automating it. Here is how I need it to work: User accesses their web page and creates…
Mick
  • 51
  • 2
5
votes
2 answers

Kickstart - how to exit if an OS already exists

I have what is surely a remedial question for anyone with more Linux experience. I need to check if an operating system is already installed in my kickstart script, and if so, prompt the user if they would like to continue (basically reinstall) or…
MsStarlifter
  • 65
  • 1
  • 3
5
votes
2 answers

Modify XFS filesystem creation parameters during kickstart installation

I'm streamlining the kickstart process for a series of EL6.2 (RHEL, CentOS, SL, etc.) systems. I'd prefer to use XFS over ext4 for the growth/data partition. However, I'd like some control over the options passed to mkfs.xfs for the creation of the…
ewwhite
  • 197,159
  • 92
  • 443
  • 809
1
2
3
19 20