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
8 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 ...
0
votes
0answers
15 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
56 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
71 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 ...
6
votes
1answer
222 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
47 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
26 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
20 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
122 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 ...
0
votes
2answers
1k 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
54 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 ...
0
votes
0answers
66 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 ...
0
votes
1answer
140 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 ...
1
vote
1answer
70 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
46 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
0answers
84 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
192 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
53 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
397 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 ...
0
votes
0answers
29 views

Kickstart %post has no output

Originally thought restricted to back tick or command substitution in kickstart %post (from my original question), I can't actually do any file output from the kickstart %post. The image being ...
1
vote
0answers
434 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
97 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 ...
0
votes
0answers
80 views

How to disable fibre channel LUNs entirely while doing an OS install?

SL 6.5 (aka RHEL 6.5) using a Qlogic adapter in a Dell R610. The module that is loaded is qla2xxx but also scsi_transport_fc. I have 2 SAS disks in RAID 1 for the OS and several FC LUNs for data ...
0
votes
0answers
126 views

How to pass boot paremeters to a XenServer HVM? Is it even supported?

I'm willing to build up a fully automated installation of CentOS 7 over XenServer 6.5 using kickstart. According to XenServer 6.5 Documentation, CentOS 7 is now supported in HVM mode: In XenServer ...
1
vote
2answers
772 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
277 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
128 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
42 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 ...
1
vote
1answer
59 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
3k 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
711 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
0answers
268 views

Centos 7 kickstart systemctl

I created a kickstart file for CentOS 7 and I'm having trouble with the following entry: services --enabled=mariadb,mongod,httpd,chronyd,NetworkManager I am getting an error: No such file or ...
0
votes
0answers
153 views

kvm guest wont power off after network kickstart installation finishes

I'd like to be able full automate the creation a KVM guest, so I need the KVM guest to power off, so that the virt-install command returns. Unfortunately the guest doesn't power down, but end with: ...
0
votes
1answer
69 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
125 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
2k 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
2k 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
245 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 ...
0
votes
0answers
618 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
26 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?
0
votes
0answers
259 views

RHEL7 kickstart fails to install product certificate

I am installing Red Hat Enterprise Linux 7.0 Sever from a customized image with a Kickstart file. After rebooting, no product certificate has been installed, making it impossible to register the ...
0
votes
1answer
578 views

Configure a Bridge Device in CentOS 7 via Kickstart

I wish to configure a br0 bridge with kickstart using eth0 as its slave. Is this possible? I have not seen any kickstart examples that do this. I wish to use this box as a KVM host, so I'm ...
0
votes
1answer
333 views

How to include cinnamon via kickstart in CentOS 7

I'm trying to install cinnamon via kickstart in CentOS 7. In previous versions of CentOS/RHEL there was the %packages --resolvedeps options This option is no longer available. I have the following ...
2
votes
0answers
1k views

CentOS kickstart automated setup with parted / RAID

I'm trying to use parted to partition my entire drives automatically during the CentOS kickstart install, however, I'm getting two issues with my install. I want to kickstart my installs across ...
2
votes
2answers
402 views

Best way to secure Kickstart encrypted partition passwords

I have a CentOS 6.5 environment that boots up servers using Kickstart. One of the requirements of our Kickstart is that the partitions are encrypted. Since Anaconda can only take plain text passwords ...
1
vote
5answers
3k views

Tested kickstart file baulks in Centos 7

Tried kickstarting CENTOS 7 and got an unexpected message. The kickstart file has worked with 5 and 6 prior. Something has changed. Has anyone run into this? Installation 1) [x] Timezone settings ...
2
votes
1answer
2k views

Consistent Install Disk Selection in RHEL Kickstart

In my kickstart installation I specify that the operating system should be installed on /dev/sda. We have some Dell machines in our environment with iDRAC. When virtual media is attached in iDRAC, it ...
1
vote
2answers
339 views

Is it possible to force a linux install to continue?

I'm PXE booting a linux distro that I'd like to contain a list of packages. I have these packages listed in a kickstart file for inclusion. Some of these packages won't work with the current distro, ...
1
vote
1answer
3k views

Passing variables in kickstart

I have a kickstart file that takes a hostname in the %pre section. I cannot seem to figure out how to get it two the first. As you see it sends the server information to another device which then ...