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

learn more… | top users | synonyms

9
votes
2answers
4k views

What in a kickstart file sets the desktop GUI as default (runlevel 5)?

I am using Scientific Linux 6 and am installing the following desktop-related package groups: @basic-desktop @desktop-platform @general-desktop @x11 However, after installation, /etc/inittab still ...
9
votes
2answers
2k views

Kickoff Ansible Playbook after Cobbler install

I am working on implementing Cobbler and Ansible to do our server deploys and am having one final issue. My Ansible playbook works great, my Cobbler install works great, but the issue is in tying them ...
7
votes
5answers
5k views

Red Hat server minimal install

In a farm of virtualized Red Hat servers, there's the need to install a minimal system for security reasons. Minimal installs have several advantages (even no security related): Less exposure to ...
7
votes
3answers
1k views

Why is bluetooth support one of the default packages in “Base” when doing an RHEL/CentOS server install? [closed]

This is an issue that has bugged me for a long time - why would the default server installation of RHEL?CentOS include desktop/laptop packages like bluetooth? When using kickstart, I will usually ...
7
votes
3answers
6k views

CentOS 6 kickstart ignoring 'selinux --disabled'

I've been fighting with this one for a bit and it seems that there has been a regression in CentOS 6 as far as anaconda ignoring the selinux --disabled directive. This appears to have first appeared ...
6
votes
1answer
3k views

Fine line between kickstart and puppet

I'm interested in Puppet configuration management system, but wonder where the fine line goes between kick-start and Puppet? Today I do a lot of tasks in kick-start (powered by Cobbler), including ...
6
votes
2answers
2k views

Scripted install vs cloning

What are the downside of cloning vs scripted installation (using Kick-start / Puppet)? I read a lot of pro-scripted install opinion, where cloning is considered as unreliable method due to ever ...
6
votes
1answer
3k views

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, ...
6
votes
1answer
432 views

CentOS 7.2.1511, kickstart and user creation

I've run into issue with kickstart and user creation. From long-long time ago I had in my kickstart these lines to create user: user --name=a --gecos="A" --uid=500 --groups=wheel --password="..." ...
6
votes
4answers
14k views

Kickstart installation from USB — Kickstart location

After managing to get a Fedora ISO to rebuild successfully (for a USB stick) after adding a kickstart file (http://serverfault.com/questions/548405/), I now have an issue with locating the kickstart ...
6
votes
1answer
533 views

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 ...
5
votes
3answers
3k views

Kickstart: Serve dynamic kickstart images via a CGI or PHP script?

I'd like to Kickstart a couple dozen RHEL6/SL6 servers. However, some of these servers are different and I don't want to create a new ks.cfg file for each class of server. Is there any way I can ...
5
votes
2answers
3k views

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 ...
5
votes
3answers
4k views

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 ...
5
votes
2answers
2k views

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 ...
5
votes
2answers
3k views

Ubuntu Kickstart installation using LVM waits for input

I have a PXE Boot Setup for installing CentOS 5 and Ubuntu 10.04 via Kickstart. I use LVM and installing CentOS without any user interaction works but Ubuntu always asks to "confirm to write changes ...
5
votes
2answers
273 views

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 ...
5
votes
2answers
2k views

RHEL Clones (Centos, Scientific, CERN) network installation on XenServer 6.2

I'm trying to install a Scientific Linux CERN 6 guest on XenServer 6.2 through the network with PXE Booting but it hangs in the message: mounting /tmp as tmpfs... done I'm not using the most ...
4
votes
1answer
26k views

How to create a custom ISO image in CentOS

I am trying to create a custom ISO image which would install the minimal required RPMS along with some custom written RPM of my app. and Also wants to perform some post install steps like configuring ...
4
votes
3answers
2k views

VMware ESXi CentOS 6.4 kickstart installation

I was trying to do a kickstart installation for CentOS 6.4 but it always show me a warning of re-initializing the HDD as it say may contain invalid partition table or a virtual disk. I have added ...
4
votes
1answer
6k views

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 ...
4
votes
2answers
6k views

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 ...
4
votes
1answer
501 views

CentOS/Redhat kickstart script cdrom mount point

Trying to copy some files from my custom CentOS 7 install ISO to the new install in the %post section. I've tried all of these: cp /dev/cdrom/scripts/myscript.sh /etc/myscripts/myscript.sh cp ...
4
votes
3answers
10k views

How to get CentOS 6 kickstart to ask for hostname?

I'm using the CentOS 6 netinstall ISO with some kickstart files on an http server. When the ISO boots I hit TAB and enter the boot options asknetwork ks=http://<ip-address>/path/to/kickstart.ks. ...
4
votes
1answer
951 views

Kickstart Centos USB Key Centos 6.3

I have got an annoying issue when I try to use it using a USBkey install on a physical box that googleing is not helping. The installation works fine if I specify a URL as install media, but it does ...
4
votes
2answers
5k views

How do I pass arguments from the PXE command line to a kickstart %pre, %post script?

Basically I want an ARGV like usage on the PXE command line, but I can't see any documentation to do this. basically I want to pass something like scientific-linux-6 HOSTNAME VLAN then in %pre hit ...
4
votes
2answers
3k views

How to create a RHEL/CentOS boot media that automatically loads kickstart from the network?

I've build a local network where using DHCP, kickstart templating and local mirrors I can automate the installation of any RedHat-type operating system. It still requires me to go to the machine (or ...
3
votes
5answers
760 views

Is there a way to run kickstart scripts on a pre-existing server?

We normally provision servers using kickstart scripts (served by Cobbler) when installing the operating system. But we are to be given a new server from an ISP that already has the operating system ...
3
votes
3answers
5k views

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 ...
3
votes
5answers
929 views

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) ...
3
votes
1answer
357 views

How do I combine firewall --enabled and --nobase in a CentOS kickstart?

As part of system hardening, I'm trying to configure my firewall during a CentOS 6.6 kickstart with the following line. It does work under one circumstance, and otherwise it doesn't. Kickstart ...
3
votes
2answers
532 views

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 ...
3
votes
2answers
1k views

How to turn off SSL certificate verification for RedHat Kickstartfile downloading

I'm using Foreman for RedHat 6.0 booting over ipxe (but that shouldn't matter ;) The kernel parameters used for booting are: kernel http://192.168.1.5/dist/rhel/6.0/os/x86_64/images/pxeboot/vmlinuz ...
3
votes
1answer
3k views

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 ...
3
votes
2answers
780 views

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 ...
3
votes
1answer
706 views

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 ...
3
votes
2answers
102 views

How to get location of anaconda-ks.cfg script from within itself?

I'm installing CentOS 7 using the ks option. Example: ks=http://10.0.0.100:8080/anaconda-ks.cfg From within this configuration file, how can I "dynamically" fetch the URL of its location? In this ...
3
votes
1answer
3k views

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 ...
3
votes
2answers
2k views

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 ...
3
votes
2answers
2k views

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 ...
3
votes
3answers
3k views

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. ...
3
votes
2answers
1k views

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: ...
3
votes
1answer
717 views

Kickstart partitioning with ext4 in autopart mode?

When installing CentOS 6.x, how to specify the filesystem type with ext4 and also use the autopart directive in kickstart file? The default filesystem type with autopart directive used is ext3, which ...
3
votes
1answer
198 views

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 ...
3
votes
2answers
3k views

Kickstart based installation of RHEL 6.4 from USB

I want to setup some brand new servers with RHEL 6.4. Servers do not have DVD, so, I have to use USB for the installation. I already have a custom ISO with a kickstart file that I use on servers with ...
2
votes
1answer
4k views

SSH public key authentication - can one public key be used for multiple users?

I am wanting to deploy a RHEL5 server using Kickstarts and for security I only want to allow remote clients to ssh to the server as the user 'Developer' (I have already configured the sshd config to ...
2
votes
2answers
2k views

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: ...
2
votes
1answer
4k views

CentOS Install - Starting a Kickstart

I have a kickstart file hosted. Let's say it is hosted at http://example.com/ks/ks.cfg I booted the CentOS 6.2 media and hit tab. Before editing anything this shows: vmlinuz initrd=initrd.img I ...
2
votes
2answers
546 views

ksappend does not work in RHEL/CO 6 any more?

I am currently in the progress of migrating our kickstart-files from CentOS 5 to CentOS 6. In CentOS 5 there was a nice anaconda/kickstart-statement that allowed the inclusion of other ...
2
votes
1answer
2k views

RHEL6 kick start fails with kernel panic - not syncing error

On a brand new (just unboxed) Dell Precision 7500 computer, I began a kickstart using a red hat boot disk and a kickstart file hosted at an http address. There is a picture of the full error below ...