The tag has no usage guidance.

learn more… | top users | synonyms

5
votes
1answer
3k views

Differences between %pre and %post in Kickstart on CentOS?

I have been setting up machines with Kickstart on CentOS and I am unsure about the differences between the %pre and %post sections of the kickstart .cfg file. The CentOS Documentation for the ...
5
votes
2answers
4k views

How can I serve a Kickstart file over the network without a DHCP server?

I want to install CentOS 5.5 on two systems. I have a kickstart file. I would like to install CentOS on a system using this kickstart file. I'm reading the instructions provided by fedoraproject.org ...
5
votes
1answer
5k views

Import EPEL GPG key in kickstart post-installation

I'm trying to use Oz to create a CentOS 6.4 virtual machine image and install some packages from EPEL. When it tries to install the epel-release package, I get the error: Public key for ...
5
votes
3answers
1k views

How can I background a shell script during a Kickstart?

I have a Red Hat Kickstart process which reports its progress at key points via a POST request to a status server. This is fine during %pre and %post, but when the actual build is taking place ...
4
votes
3answers
7k views

What commands are available in the %pre section of a Kickstart file on CentOS?

Environment: CentOS 5.5 and 6.4 I have a request to analyze the hardware before installation to make sure our customers don't install our software on sub-standard server hardware. For example, ...
4
votes
2answers
6k views

USB set to /dev/sda instead of /dev/sdb

I've been trying to use a kickstart file to guide the Red Hat installer (RHEL6.5) without user intervention. It correctly looks for the kickstart file in /dev/sdb/fs.cfg, but because the USB is ...
4
votes
1answer
987 views

How to override anaconda/kickstart package ordering?

I am building a bootable ISO to be used to install a Linux image (Oracle Linux, 5.8). This is using anaconda with a kickstart file to select the packages to be loaded. Some of these packages are ...
3
votes
3answers
5k views

Automate DISA STIG controls for RHEL/CentOS?

I am deploying systems that must be configured using the Red Hat 6 (v1r2) Security Technical Implementation Guide(STIG) published by the Defense Information Systems Agency (DISA). Link to site. I've ...
3
votes
1answer
1k views

Changing firewall settings after installation of CentOS via kickstart

I was trying to install CentOS 6.3 via Windows Deployment Server. And to automate the installation process I used kickstart file in which i provided various details required during installation.Then i ...
3
votes
1answer
185 views

Installing basic OS on a server without console

I'm having a server with some obsolete linux installed. I want to wipe everything out, have a basic Ubuntu installed, and get the IP of the server, and a default username and password. From there ...
3
votes
1answer
49 views

How to create a RAM disk from the Kickstart environment?

I'm installing a CentOS 7 VM, and I would like to create a RAM disk inside the %pre section of a Kickstart file. However, doing so via mkfs -q /dev/ram1 8192 is not possible as the mkfs binary is ...
3
votes
1answer
626 views

Kickstart file - installer is ignoring some of the “do not install” packages from the packages section

When I use the kickstat file on CentOS 7.0, the installer seems to be ignoring some of the "do not install" packages in the list. cdrom text auth --enableshadow --passalgo=sha512 keyboard ...
3
votes
1answer
2k views

kickstart copy file to new system

I've finished writing my kickstart file but one thing bugs me the whole day. I've searched all over the net, found numerous posts with different solutions and none of them helped me. I did a fresh ...
3
votes
1answer
754 views

Kickstart: one network card with DHCP, one with static IP?

I am using Kickstart to automate a CentOS install. I wanted one of the interfaces to have static IP so I wrote - network --onboot yes --bootproto static \ -ip="intended IP" -netmask="intended ...
3
votes
1answer
922 views

Install 32-bit library packages on 64-bit rhel 6.2 during installation of os

I want full installation of rhel-server-6.2-x86_64. Within this setup, I want to install some of 32bit glibc packages before completion of installation, which already available in ...
2
votes
2answers
3k views

kickstart bootloader --driveorder configuration

I use a kickstart file for a customized install CentOS. On certain machines, if a memory stick is in the USB port, it fails because it tries to install CentOS on the memory stick. Kickstart current ...
2
votes
1answer
1k views

IPMI does not start up during kickstart-installation

I am in the process of further automating our system-installation on new servers. Main problem here is that the network-devices do not appear in the order we expect them (i.e. first onboard network ...
2
votes
1answer
3k views

Logging %pre during kickstart - logfile doesn't exist after boot

I am kickstarting several EL6 systems and I want to log the actions taken in my %pre section. I know that I can log the %post section per the hints provided by centos.org: Tips and tricks for ...
2
votes
1answer
580 views

CentOS-7 Kernel Image has a “debug” suffix after a Kickstart installation

After finishing a customized CentOS-7 kickstart installation from a CDROM, the system has booted as expected and according to the ks.cfg file. At the grub menu the options I have are: CentOS Linux, ...
2
votes
2answers
2k views

Custom Kickstart ISO process - packages to RPM mapping

I want to start by saying that I am new to kickstart so if I use the wrong terms I apologize in advance. What I am trying to accomplish: I am trying to create a customer ISO for installation of ...
2
votes
1answer
189 views

RHEL6 Unable to download kickstart file

In our lab we have a set of scripts that automatically configure a kickstart installation for RHEL5 on HP ProLiant DL380p Gen8. Based on data from several configuration files, it does the following ...
2
votes
0answers
80 views

How to set YUM settings in a Kickstart?

I am moving a 32-bit CentOS server that runs 32-bit applications to 64-bit CentOS to allow more RAM. I already have a kickstart file that I use, but unfortunately the packages listed have no ...
2
votes
1answer
178 views

Kickstart: is it possible to partition without a mount point?

I would like to partition a disk, but some partitions should not be mounted, so far I have to following workaround : part /srv/tmp1 --fstype=ext4 --size=1000 --ondisk=sda then in a post-install ...
2
votes
1answer
44 views

Debian Kickstart Files Failing To Download

I have found that if I try to host my kickstart files on github and pass the raw url to virt-install, such as below, it will fail. ...
2
votes
0answers
565 views

Install Centos7 with kickstart file fails with “entering emergency mode”

I've created and tested a kickstart file using virtualbox. However, when I try to use the same kickstart file on a different computer, I get "Warning: Could not boot", "Generating ...
2
votes
1answer
367 views

Automated Install Fails due to CRC on /dev/sda

I'm running an X8STI-3F with an onboard LSI 1063E SAS controller running in IT mode. I'm trying to get an automated install going on it and I keep getting ddf1: physical drives with CRC AE516B03, ...
2
votes
0answers
390 views

How do I disable hardware detection during PXE boot?

I'm atttempting to install centOS 6.5 on a new dell machine through PXE boot. The PXE boot works fine for other PCs, just the new workstations are problematic. The PXE boot hangs on "Detecting ...
1
vote
2answers
277 views

Installation of RHEL and softwares on multiple machines

In our organization, we have 15 new systems each with same hardware. I need to setup all the machines with RHEL 6.0 in it, multiple software, and lot of basic configuration. I don't have any ...
1
vote
1answer
48 views

CentOS - using PXE to install it on my host ( kickstart configuration )

I am trying to install an OS from our server through PXE ( Preboot Execution Environment ). However, on my host, I have two disks say A ( /dev/sda ) and B ( /dev/sdb ) The default installation path ...
1
vote
1answer
93 views

Ananconda kickstart

I am trying to use packer to build a virtual-box image using kickstart however the ananconda install fails due to lack of installation source and no software selection my kickstart script is shown ...
1
vote
1answer
808 views

RHEL ISO with kickstart file

I am trying to edit the original RHEL 6.5 DVD (rhel-server-6.5-x86_64-dvd.iso) from redhat in order to add kickstart file on it. The goal is to have one 3.4Go iso with automatic install. And not one ...
1
vote
1answer
529 views

kickstart is frozen at 100%

I'm trying to install CentOS 6.5 into virtualbox using packer, but the install screen is freezing at 100%: The other consoles are showing the following information: Alt+F2 (blank screen) Alt+F3 ...
1
vote
1answer
11k views

How to install glibc.i686 using rpm with dependency resolved

I know that I can use yum to do that. But my problem is a little different. I want to write a kickstart post installation script so after installation of the OS as a post-installation step the ...
1
vote
1answer
637 views

How do I configure the driver for eth0 so I can use a kickstart file over the network?

I am trying to use a kickstart file hosted over the network to install Oracle Linux 5.8 (equivalent to RHEL 5.8 I believe). I am using the following at the boot prompt: linux ks=http://1.2.3.4/my.ks ...
1
vote
1answer
36 views

Custom kickstart install completes but machine won't boot

I have been following the instructions on using kickstart to create a custom install at : http://www.smorgasbork.com/2012/01/04/building-a-custom-centos-7-kickstart-disc-part-3/ I got an unattended ...
1
vote
1answer
25 views

Red Hat 7 KickStarter

I've made my own KickStarter with the official KickStarter generator from RedHat. But now I can't find out how I can run it. It is a .dms file.
1
vote
0answers
39 views

Evaluate variables' value in Kickstart file

I am trying to make a Kickstart install of a CentOS 7 VM interactive, by asking for user input in the %pre-install script, as described here. So far I've managed to get user-entered values and store ...
1
vote
1answer
1k views

RHEL 6.7 kickstart using minimal boot media on UEFI

I'm new to RHEL (haven't used it since the early 2000s when it was still open source) and currently attempting to install it on a cluster of machines. I'm trying to automate this process as much as ...
1
vote
0answers
41 views

Which Kickstart commands and options cannot be %included?

I'm using Kickstart to automate a CentOS 7 installation and I'd like to create a common Kickstart file so I can %include it. After some testing it seems like some commands (like text) cannot be ...
1
vote
1answer
120 views

Kickstart using only SAN disks

How would a kickstart file look like (using RHEL or a RHEL derivative), or is it even possible with it when we have zero local disks, and we only have disks from SAN? (Kickstart method is needed ...
1
vote
0answers
115 views

Kexec immediately after Kickstart install (where is cmdline?)

I used to be able to kexec into a new kernel immediately after a kickstart (anaconda) install via pxe. I was able to do this by figuring out the current kernel version, and grabbing cmdline options ...
1
vote
0answers
1k views

How to fix “cannot retrieve repository metadata” when installing CentOS 6.5 from Kickstart over FTP?

I am pulling my hair out trying to fix this. I am attempting to install CentOS 6.5 over an FTP server on KVM from the physical host. I have vsftpd installed, selinux set to permissive, and iptables ...
1
vote
1answer
144 views

Kickstart file not being found in VituralBox

I am installing a STIG RHEL on a virtual box and therefore have a custom kick start file in the iso I am using. The iso structure looks like this for the kickstart file ROOT | |----stig_fix ...
1
vote
0answers
80 views

Package a Linux system and app into an installable .iso? Kickstart?

I have written a Python web app that has a number of dependancies. In addition to providing install instructions, I would like to package this up into an .iso for ease of installation. Something ...
1
vote
1answer
752 views

Centos6.4 Kickstart stuck at %POST

I have the below kickstart %post, but it hangs at the Post Installation Screen. Any thing I had missed or done wrongly? Thanks. %post --log=/root/my-post-log ( echo "# Running Post Configuration #" ...
0
votes
1answer
2k views

CentOS 6.4 Kickstart bootloader problem

I am installing CentOS 6.4 via a kick start file that looks like this in my build: # install the bootloader (GRUB) bootloader --location=mbr --driveorder=sda --append="crashkernel=auto" After the ...
0
votes
1answer
759 views

mount: special device /tmp/cdrom does not exist - CentOS kickstart %post section

I am upgrading an installation from CentOS 5.5 to 6.4. I am having troubles with my kickstart file in the %post section while mounting /tmp/cdrom during the install: The following configuration in ...
0
votes
1answer
69 views

Kickstart install problems, ethernet configuration missing

Using CentOS 6.7 I've created a custom(and working) kickstart installation. Initially I had coded the configuration for eth0 in the kickstart file, but ideally I'd like the user to input it, but it ...
0
votes
1answer
50 views

echo or sed out of a ks-file to generate a mysql_secure script

i will create a KS File (Kickstart for automated OS installation). i install mariadb with the ks file. But it seems a problem to execute the mysql_secure script. My idea is to generate a script in ...
0
votes
1answer
863 views

Which URL to use for the Fedora EPEL repo mirrorlist in a kickstart config?

I am writing a kickstart file to configure a CentOS 7 installation. I'd like to install some packages from the Fedora EPEL repository, so I'm adding a repo command to the configuration. I'm having ...