The tag has no wiki summary.

learn more… | top users | synonyms

5
votes
2answers
3k 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
3answers
601 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
1answer
2k 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 ...
4
votes
2answers
3k 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
623 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
1answer
897 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
158 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
82 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
1k 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
3k 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 ...
3
votes
1answer
632 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 ...
2
votes
2answers
2k 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
2answers
3k 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 ...
2
votes
1answer
814 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
2k 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
214 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
1k 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
0answers
146 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
204 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
213 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 ...
2
votes
1answer
565 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 ...
1
vote
3answers
3k 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, ...
1
vote
2answers
208 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
66 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
284 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
321 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
7k 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
428 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
59 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
74 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
1answer
92 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
70 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
1k views

Install RHEL 5.7S on machine with 4TB disks

I'm getting errors about GPT when installing OS using kickstart. The Dell R720 has 8x 600GB SAS. I can't figure out what to configure in BIOS and kickstart file. In BIOS, there're boot options of ...
1
vote
1answer
545 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
1k 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
482 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
171 views

Adding your own RPM to kickstart file in SL

I have a kickstart file I am working on for my servers: repo --name="Scientific Linux" --baseurl=http://ftp1.scientificlinux.org/linux/scientific/6.5/i386/os/ --cost=100 %packages ...
0
votes
1answer
324 views

How to add NFS options flag to anaconda?

These options work for Kickstart to load the install tree from NFS: The Fedora Kickstart documentation states nfs --server=nfsserver.example.com --dir=/tmp/install-tree ...
0
votes
1answer
173 views

Linux Kickstart stops with dialog about “CD Found”

I'm installing Red Hat in a virtual machine, I'm using a kickstart file from an url, but few moments later the system starts to load, it shows a dialog about "CD Found - To begin testing the CD ...
0
votes
0answers
10 views

Kickstart with NFS does not work on static IP on KVM

I am using virt-install to use KVM qemu to launch centos VM. The DVD extracts of centos are hosted on a NFS server. The kick start has the line. network --onboot on --device eth0 --bootproto dhcp ...
0
votes
0answers
24 views

Have kickstart install TCPdump

I have a kickstart file for RHEL 6 and in the package section for the installing of the TCPdump command line utility I put tcpdump as the package name. Like I did with java and g++ in the kickstart ...
0
votes
0answers
18 views

Restarting dhcpd.conf failing

I am trying to setup a Kickstart server and when I am trying to restart the dhcpd server after having updated dhcpd.conf it is throwing a "failed" error. I am installing the Kickstart server on a ...
0
votes
0answers
33 views

kickstart does not chmod a file in %post section

I have the following code executed in the %post section of a kickstart file for RHEL 6.6. echo '#!/bin/sh' > /root/add_user echo 'if [ $# -lt 1 ]; then echo "no username provided"; exit 1; fi' ...
0
votes
0answers
31 views

Trigger a graphic window during kickstart

I have built some custom centOS instalaltion CD with the help of anaconda and kickstart, nothing really exciting here, everything is working fine, packet are installed, pre and post installation ...
0
votes
0answers
86 views

Unable to get kickstart file from locally hosted http

I'm trying to get a vm up using a kickstart file. However, whenever the virtual machine initalize, it says it is unable to located the kickstart file from the location provided. Code to build vm: ...
0
votes
0answers
56 views

Using ks.cfg with virt-install?

I've been trying to get a virtual machine working with a cfg file on centos but unfortunately, I'm getting the error that ks.cfg file does not exist. Below is the command I ran to enable the VM. ...
0
votes
0answers
55 views

Can I use kickstart to assign multiple ip addresses to a device

Can I use the kickstart network statement to assign multiple ip addresses to the same network device? E.g. I have a server that I install using kickstart. The server has one network card, but I want ...
0
votes
0answers
69 views

Unable to trap “CTRL+C” within kickstart “%pre” bash script

I'm using an interactive pre-installation bash script in a CentOS-7 kickstart image. I was trying to use "trap" to catch user Ctrl+C (SIGINT) and run some code as follows: trap_ctrl_c() { #Some ...
0
votes
0answers
746 views

zerombr and clearpart not working in RHEL7

I've been using the following simple partitioning scheme to setup some RedHat machines. zerombr clearpart --all --initlabel bootloader --location=mbr autopart The unfortunate part is that I know ...
0
votes
0answers
930 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 ...