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

How to disable disk device user-friendly names in a RHEL 7 kickstart file

We're right now in the process of deploying a set of fibre-channel connected hosts with multipathed root disks. The installation is automated through foreman, so we boot vie PXE and run anaconda with a kickstart file. The default behaviour in…
Andreas Rogge
  • 2,853
  • 11
  • 24
0
votes
2 answers

CentOS update package in install folder

I was trying to deploy CentOS from PXE with an install directory extracted from latest iso (1611). Install failed (with or without kickstart) because of microcode_ctl package, after some researches I found out there is updated rpm that fix the…
Wddysr
  • 1
0
votes
2 answers

Kickstart Ubuntu 16.04 Post Install Chown

chown command issue in kickstart installation I'm trying to run a chown myuser:myuser at the end of the %post section in my ks.cfg file. Everything before the chown runs successfully. ks.cfg #Generated by Kickstart Configurator #platform=AMD64 or…
hashwagon
  • 67
  • 1
  • 8
0
votes
1 answer

VMware guest PXE boot fails and hangs, Can It auto-retry?

I use Kickstart to build most of my virtual machines which is consistent and repeatable. However, when I'm building 100+ machines, many times they get stuck mid-install and need a CTRL-Alt-Ins to get going, any ideas on a way to make they…
Jacob Evans
  • 7,886
  • 3
  • 29
  • 57
0
votes
1 answer

virt-install with pxe fails when using fixed ip in kickstart file

Using virt-install to deploy a qemu domain (CentOS 7) fails when I set a fixed ip in my kickstart file. It works just fine with dhcp bootproto set in the same kickstart file. The virt-install command is: virt-install --hvm --connect qemu:///system…
lievendp
  • 91
  • 1
  • 1
  • 10
0
votes
1 answer

Unattended Kickstart Install of KVM VM Not Automated

I am trying to automate the kickstart install of CentOS 7 on a KVM virtual machine. My host system is also CentOS 7. I have the contents of the CentOS 7 DVD hosted on a vsftp server running on my host machine. When I run the below command, the…
AdnanEK
  • 1
  • 1
0
votes
1 answer

kickstart %include can't open file

I want to break out my kickstart user definitions into a separate file. Trying to pull that file in with %include, I get an error that breaks the install: Unable to open input kickstart file: curl#37 - "Couldn't open file …
iletras
  • 163
  • 2
  • 6
0
votes
1 answer

Running yum commands from the %post section of a kickstart

I'm currently installing RHEL 6 using a kickstart file. I'm attempting to conditionally install a package. The order of when the package is installed does not matter to me. Right now, my %post section looks like this %post if [ conditionExists…
Brian5193
  • 1
  • 1
  • 3
0
votes
0 answers

Line in kickstart config is not running?

I use kickstart to automate the installation of custom centos 7. And everything is fine until this line in the kickstart config inside the %post section. echo "#!/bin/bash" >> /script.sh echo "bash /tmp/dcos/dcos_install.sh slave" >>…
0
votes
1 answer

Centos 7.2 (Build 1511) installer unexpectedly quits sometimes, when installing via network with kickstart file

I have been experiencing an intermittent problem when installing CentOS 7 from a USB stick, using the network installer. The kickstart file is found via URL and installation proceeds normally, through setting up the drives. After the screen switches…
0
votes
1 answer

kickstart logical volume on specific disk

Is it possible, in kickstart, to specify which physical volume a logical volume gets created in? I have: clearpart --all --initlabel --drives=sda,sdb,sdc,sdd zerombr part /boot --asprimary --fstype="ext4" --ondisk=sdb --size=515 part pv.001…
Simply Seth
  • 117
  • 7
0
votes
0 answers

How can I make Kickstart chose which build to run, depending on the subnet of the client?

I have 2 possible subnets that systems could be built in using Kickstart, with the subnet of the client directing which build should occur. How could I go about this? I have tried the following %pre scripts to little avail at the moment. Is on…
stub0t
  • 1
  • 1
0
votes
1 answer

Can I Mount an ISO Image Served over FTP / HTTP During the Kickstart %post Process of a RHEL 7 / CentOS 7?

I'm attempting to customize a RHEL 7 / CentOS 7 kickstart (ks.cfg) file, which is loaded via PXE booting to mount an ISO file that is accessible via FTP / HTTP. I understand Busybox tools are available during the kickstart process, and can be added…
0
votes
2 answers

Unable to create CentOS 7.2 Kickstart DVD

I'm quite new to the kickstart concept and I've been reading and testing this for the past few days and I'm having an issue I can't seem to find anywhere on the web right now... At first I wanted to create a PXE boot kickstart installation, but this…
0
votes
1 answer

kickstart device location changes (enumeration order)

I've built an unattended USB installer which installs Centos and our Application binaries. However, anaconda (?) puts the USB device after the hard drives - so servers with two drives, the USB is sdc; three HDDs, sdd etc. Our servers come in a…
Danny
  • 235
  • 3
  • 10