Kickstart is the method of automated installation of Linux Systems based on Red Hat or their clones (CentOS, Scientific Linux, Unbreakable Linux, ...)

learn more… | top users | synonyms

0
votes
0answers
2 views

Cobbler kickstart file edited, but changes not transferring to Profile “View Kickstart” tab in GUI

I've edited a kickstart file in /var/lib/cobbler/kickstarts/ and run cobbler sync. However, when I look in the web interface in the profiles page and click "View Kickstart" the content of the ...
2
votes
2answers
252 views

CentOS 7 kickstart - Skip media check during unattended installation?

Is there any way to skip the media check screen during unattended text-mode installations of CentOS 7? I usually install using the minimal ISO, and I've noticed that I need to press ESC once or twice ...
0
votes
0answers
19 views

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 %...
0
votes
0answers
46 views

Custom centos6.7 iso does not boot in uefi

I have created a custom CentOS 6.7 iso and in BIOS it boots and installs my application successfully. When I configured my VMware to boot in UEFI i get this error: -EFI Virtusl disk (0.0)... ...
0
votes
0answers
52 views

CentOS Kickstart - failed to find a suitable stage1 device

I've been trying to PXE boot a CentOS 7 installation, and keep on getting an error: storage configuration failed: failed to find a suitable stage1 device Now, I think this will be because of my ...
0
votes
2answers
41 views

PXE Linux config does not append network parameters to start kickstart installation

I am trying to perform a PXE boot on a server with the following PXE linux configuration located in pxelinux.cfg/default: default cli label cli menu label kickstart-installation ...
0
votes
1answer
37 views

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 ...
0
votes
0answers
30 views

How to reboot from a chroot environment?

I have a kickstart file that I use to install CentOS 7. I run some scripts in the %post section of the kickstart file. In the script, there is a checking for the compatibility of the machine, and if ...
-1
votes
1answer
73 views

How to encrypt boot partition in CentOS 7 kickstart?

I have a kickstart file for CentOS 7 Minimal. I would like to add encryption only to my /boot partition. but when I added the following line in the kickstart file, the complete installation fails. The ...
2
votes
2answers
217 views

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

linux redhat + login prompt keep getting again and again [duplicate]

we installed new server redhat version - 6.7 from kick start, after installation complete successfully we get the login prompt but I am unable to login locally on my redhat linux 6.7 server. The ...
2
votes
0answers
45 views

Send linux kernel paramters to VM guest in VMware

I have research a lot about this but I can't find anything that answers my question. My question is how would I send/pass linux kernel parameters to a VM guest in VMware vsphere (so I don't need to ...
1
vote
0answers
40 views

Network Kickstart RHEL 5 vs Kickstart RHEL 6, vmlinuz doesn't support nameservers?

I use PXE + kickstart in conjunction with Foreman, to install new hosts over the network. I've run into a problem while trying to install Red Hat 5. It looks like the older vmlinuz in RH5 does not ...
0
votes
1answer
176 views

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

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;...
0
votes
1answer
240 views

Anaconda kickstart install from local repo?

Right now we use Anaconda to create kickstart files. Everything works great but during the Centos install it throws an error that a package is missing. Our solution so far has been to mount disk 2 ...
3
votes
2answers
114 views

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

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-...
6
votes
1answer
497 views

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="..." --...
0
votes
0answers
65 views

CentOS 6 Xen Kickstart

According to the Xen4 CentOS QuickStart I need to enable the CentOS-Extras repository so I can perform yum install centos-release-xen. Since I have to do this on about 16 system I wanted to do this ...
0
votes
0answers
46 views

How can I manage dual boot with Foreman?

I have about 80 machines that need to boot both CentOS 7 (for most applications) and CentOS 6 (for one stubborn app). There seems to be very little documentation out there on getting Kickstart files ...
2
votes
0answers
28 views

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 ...
1
vote
1answer
161 views

How to debug failed Ubuntu 15.04 PXE install on Dell R710?

I've built a PXE install server which installs Ubuntu 15.04 using a Kickstart script and it's working fine on VMWare / Virtual Box VM's. 15 minute install at most. I tried this on Dell R710's ...
1
vote
2answers
4k views

CentOS 7 ISO Kickstart Installation - “Pane is dead”

EDIT: I retried this generically, and see the same problem. To reproduce, follow my steps below. I am starting to think that it might be a problem with the hardware, but I am not certain. When ...
0
votes
0answers
96 views

Puppet: Unable to add Puppetlabs repository to a kickstart file, but why?

I'm trying to get kickstart to add Puppetlabs repo and later in the ks script to install puppet package but to no avail. Things I've done: I've enabled puppet installation by cobbler: sed -i 's/...
0
votes
0answers
69 views

Foreman server provision complains /tmp/ks.cfg

I installed foreman 1.9.0 on a redhat 7.1 and try to provision a centos 6.6 with the default kickstart and kickstart pxe. I tried to modify parameters, but it complains all the time on the same lines....
1
vote
1answer
323 views

Ubuntu netboot installation crashes

I have a dhcp server running PXE, and a client I need to install ubuntu on through PXE. I managed to get the installer working. it goes through the installation fine with the help of a kickstart file,...
1
vote
1answer
92 views

Kickstart not working

I'm trying to create a kickstart to automate the installation procedure but when the installation ends and I check to see the result nothing happened. I'm trying to debug it by putting read statements ...
0
votes
1answer
61 views

Centos kickstart installation without package location

I want to install with unattended way Centos7 in a VM and at the moment I have to specify packages location in ks file and then in installation because is marked as error. Any way to install without ...
0
votes
1answer
172 views

Create centos7 ISO with kickstart file

I'm trying to create in my Centos7, one centos7 iso to use with virtualbox. That ISO, I want to contain one ks file. I follow the steps in this link but I get one ISO with 70M of size that cannot be ...
1
vote
1answer
439 views

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" ...
0
votes
1answer
76 views

Kickstarting RHEL7 VM stalls with “No device selected”

I've been using Ashgar Ghori's RHEL7 study guide and have hit a small snag which I have not been able to find a solution to. Using a kickstart file that worked previously, whenever I use it for a new ...
4
votes
1answer
546 views

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/...
1
vote
0answers
793 views

virt-install with kickstart file using LVM fails

I'm trying to install a VM using virt-install using a kickstart file. I've tried both RHEL 7.0 and RHEL 7.1. In both cases using LVM seems to make the installation fail. After a timeout it drops me to ...
0
votes
0answers
136 views

Blank log file if %post contains back tick or command substitution

In building a custom USB installer for Centos6.6 (not easy) I found that if the %post section of the kickstart file has backticks Anaconda completes, but exits immediately to a blank screen (no ...
2
votes
2answers
1k views

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 ...
3
votes
1answer
379 views

How do I combine firewall --enabled and --nobase in a CentOS kickstart?

As part of system hardening, I'm trying to configure my firewall during a CentOS 6.6 kickstart with the following line. It does work under one circumstance, and otherwise it doesn't. Kickstart ...
1
vote
1answer
351 views

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 ...
1
vote
0answers
45 views

Kickstart for ubuntu works on vm but not on physical machine

So I have made a ks.cfg file for Ubuntu 14.04 server edition and uploaded it to http://address/of/my/ks.cfg and modified isolinux/txt.cfg with necessary changes. Now when I use this ISO on virtual-...
1
vote
1answer
65 views

Changes in kickstart file do not take effect in Cobbler

I am using Cobbler to install SLES 11 SP2 and it has been running fine all the while. Recently I modified the kickstart file by changing the size of the root partition from 18GB to 36GB. To my ...
0
votes
2answers
4k views

CentOS 7 installer: blank screen

I am trying to figure out CentOS 7 unattended network (PXE) installations in my setup, but the installer always ends up running into a black screen without interaction options. This is being tried in ...
1
vote
1answer
1k views

CentOS kickstart raid 1 and LVM issues

While doing an unattended install of CentOS 7 using kickstart. I set two disks to me mirrored. bootloader --location=mbr --driveorder=sda,sdb zerombr clearpart --all --initlabel # Disk ...
0
votes
1answer
94 views

How to install Linux daemon using Kickstart

%post --log=/root/ks-post.log --interpreter /bin/sh exec < /dev/tty3 > /dev/tty3 2>&1 chvt 3 cat > /mnt/sysimage/etc/init.d/daemon <<EOL #stuff goes here EOL chmod 755 /...
2
votes
1answer
149 views

Skip user input when using anaconda with kickstart

When I boot up the first time it always requests user input, in the case of text mode it asks me to press B to continue the installation. I would like to provision the system with no user input. ...
0
votes
0answers
1k views

CentOS 6.6 kickstart failing suddenly when including the 'updates' repo

Suddenly this week my CentOS 6.6 kickstart is failing with: A fatal error occurred when installing the <rpm.hdr object at 0x4981cd0> package. This could indicate errors when reading the ...
0
votes
2answers
3k views

Kickstarting Ubuntu 14.04: How do I create an “EFI boot partition” from my ks.cfg?

I am PXE booting a server that has two 4Gb drives configured in RAID-1 in order to kickstart an instance of Ubuntu Server 14.04. I am PXE booting in EFI mode, and the install runs fine until I get ...
1
vote
1answer
3k views

Issue with Centos 7 + kickstart raid configuration

I've had an odd issue trying to set up kickstart with Centos 7. First of all, the relevant portion of the file itself. The following works, although it's not optimal. zerombr clearpart --all --...
-1
votes
1answer
282 views

How do I automate suppling the network location of the kickstart config file when booting a Redhat variant 7 install iso

When booting a Scientific Linux 7 install iso for example, one could immediately hit tab and add some text to specify the location of the ks.cfg file they would like to use. I would like to automate ...
1
vote
0answers
847 views

virt-install fully automated install

I'm looking into ways of installing/deploying a VM completely automated (no user interaction). So far I have tried QEMU and virt-install along with QEMU. The issue with qemu is that injecting ...
2
votes
1answer
30 views

When %post section runs in an automated Linux installation

I know %post section in kickstart runs after RPM packages are installed in a Red Hat based distribution installation. Question: it runs before or after system is rebooted?