Kickstart is the method of automated installation of Linux Systems based on Red Hat or their clones (CentOS, Scientific Linux, Unbreakable Linux, ...)
Questions tagged [kickstart]
292 questions
20
votes
1 answer
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 my App and VPN configuration etc.
I saw some of…
Ramesh Kumar
- 1,690
- 5
- 18
- 29
18
votes
4 answers
Linux `alternatives --config` without user input
I am writing a RHEL kickstart script, and in my %post, I need to install a JRE.
Basically, the current setup involves me needing to manually go in after first boot and set the newly installed JRE as the default using the alternatives --config…
snk
- 372
- 3
- 4
- 10
12
votes
5 answers
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 (https://serverfault.com/questions/548405/), I now have an issue with locating the kickstart file on the USB media.
When this is done from a…
dooffas
- 315
- 2
- 5
- 11
11
votes
2 answers
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 together.
I wrote a post-install trigger for…
Mildew
- 111
- 1
- 3
9
votes
2 answers
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 set to multi-user console runlevel…
Belmin Fernandez
- 10,629
- 26
- 84
- 145
8
votes
2 answers
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 in RHEL 4.8, and then re-appeared in RHEL 5.6.…
Zypher
- 36,995
- 5
- 52
- 95
8
votes
5 answers
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 vulnerabilities (if you don't need it, don't install…
chmeee
- 7,270
- 3
- 29
- 43
7
votes
1 answer
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="..." --iscrypted
user --name=b --gecos="B" --uid=501…
sashk
- 334
- 1
- 9
- 18
7
votes
3 answers
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 some APIs to get the networking info I need to…
EnabrenTane
- 255
- 1
- 2
- 7
7
votes
3 answers
Why is bluetooth support one of the default packages in "Base" when doing an RHEL/CentOS server install?
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 start with the Base packages set, and then customize…
warren
- 17,829
- 23
- 82
- 134
6
votes
1 answer
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 some custom partitioning.
Question is, if better to…
SyRenity
- 3,159
- 11
- 55
- 79
6
votes
2 answers
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 changing hardware.
In my case the hardware is pretty…
SyRenity
- 3,159
- 11
- 55
- 79
6
votes
1 answer
CentOS/RHEL 7 LVM Partitioning in Kickstart?
I am trying to learn more about partitioning in Linux, specifically LVM partitioning. So I have been looking through many sources on this, various examples, but none of them seem to go into more detail on this, so I was hoping to get some insight to…
Alex Mikhaelson
- 107
- 1
- 2
- 7
6
votes
1 answer
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 /dev/cdrom:/scripts/myscript.sh…
Kiksy
- 327
- 1
- 5
- 11
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
- 8,925
- 3
- 41
- 58