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

Preserve existing volume during Kickstart install

So, I've got a server running Scientific Linux 6.9 that I want to install 7 on. Upgrades are apparently not supported, so I need to do a clean install, which is fine. I installed the SL6 server using Kickstart, with these…
miken32
  • 942
  • 1
  • 13
  • 35
2
votes
0 answers

How to Open Telnet Console in post section of Kickstart

I want to configure external VxWork based device in post section of kickstart file, this accept telnet based commands. I found following #!/usr/bin/expect -f send -- "terminal length 0\r" expect "*?EDR*" spawn timeout 600 ssh -o…
ImranRazaKhan
  • 150
  • 3
  • 15
2
votes
2 answers

Kickstart, universal install script and default passwords

I'd like to make an universal automated install script using Kickstart, which would be placed on a CD and used in conjunction with standard DVD installer, i.e. the user of this script would need to append inst.ks=cdrom to boot options and then it'd…
woky
  • 245
  • 3
  • 10
2
votes
1 answer

How to point rhel kickstart iso source to local DVD

Somehow because of driver issue. I am unable get iso source over network. Just wondering if I can point it to a DVD media for the iso installation. Instead of "url --url http://server/path" maybe "url --url /mountpoint" in the ks.cfg file?
Gidiyo
  • 21
  • 4
2
votes
1 answer

Tailoring file on kickstarted RHEL7.4 installation causes OSCAP plugin to not remediate

I'm having trouble getting RHEL7.4 to use a tailoring file with the OSCAP addon . I've taken the following steps to make this work. Created a customization RPM using the scap-workbench tool Added that RPM to the kickstart installation Specified…
zachlowry
  • 23
  • 2
2
votes
1 answer

Disabling logging in as root via kickstart? Advice recommendations?

This is a two part question. Firstly, I am just looking to validation, if I am doing this correctly since I am not sure how to test this. The goal is to disallow the login of the root account and have everyone use sudo. To achieve this, I am putting…
Alex Mikhaelson
  • 107
  • 1
  • 2
  • 7
2
votes
1 answer

Use a dynamic value in a kickstart file

I have a kickstart file I would like to reuse for machines of varying disk size. Can I statically set my volume sizes but then have it allocation the rest of the space to a single volume? For example here is the disk part of my anaconda config: #…
red888
  • 4,183
  • 18
  • 64
  • 111
2
votes
1 answer

CentOS 7 Kickstart - Software RAID 10 and LVM

So I am not sure why I am having this issue, so I hope someone can see something I am missing. I created a kickstart file for a test Cent OS 7 automated install. Nothing seems to generate a warning except for the storage portion when it comes to…
Alex Mikhaelson
  • 107
  • 1
  • 2
  • 7
2
votes
2 answers

Centos 7, Kickstart , Error setting up base repository during installation

I am trying to install centos 7 using kickstart on vmware 12. I have downloaded iso and installed many virtual machines using the same iso package. I am getting error: Error setting up base repository Steps I am performing for kickstart. mount…
moona khan
  • 31
  • 1
  • 1
  • 4
2
votes
2 answers

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 case, I want this: "http://10.0.0.100:8080/" EDIT:…
fredrik
  • 731
  • 15
  • 20
2
votes
1 answer

CentOS: How to set hostname based on external file in kickstart script?

I install CentOS 7 using the ks=http://10.0.0.100:8080/anaconda-ks.cfg option and I serve the static configuration file by running a simple web server: python -m SimpleHTTPServer 8080. In my anaconda-ks.cfg I currently set the hostname like…
fredrik
  • 731
  • 15
  • 20
2
votes
0 answers

Can Satellite registration be done in Kickstart's `%pre` stanza?

In a presentation from 2010 RedHat Summit, I saw Satellite registration (rhnreg_ks) done in a %pre stanza, while RedHat's current docs (as well as this answer) do it in %post. Registering in %post worked for me, but then I have to run yum install…
Davor Cubranic
  • 365
  • 2
  • 9
2
votes
2 answers

CentOS kickstart - force kernel version

I'd like to kickstart some servers using a specific kernel version (slightly downrev) but can't figure out the correct syntax in the kickstart file. I've tried specifying this in the "%packages" section with both a minus-prefixed kernel package (to…
mark
  • 31
  • 1
  • 3
2
votes
2 answers

Kickstart fails to set up multiple bonded interfaces

I’m having some trouble setting up bonded interfaces in a CentOS 6.5 kickstart script. I have 8 physical network interfaces, which want to be configured in pairs as 4 bonded network interfaces. My network settings are as below: network…
RikSaunderson
  • 207
  • 4
  • 13
2
votes
1 answer

Unable to join AD domain using Kerberos from kickstart

I am trying to join to the Windows domain in the %post chroot section of my kickstart script using kinit and net commands after setting up the samba, kerberos and sssd configurations in %pre. My authconfig looks like this in the command section and…
Ura
  • 248
  • 1
  • 2
  • 12