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

1
vote
0answers
26 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
949 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 ...
4
votes
1answer
100 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
1answer
10 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 ...
1
vote
1answer
2k views

Spacewalk, Kickstart, Cobbler, PXE, Dnsmasq

I have installed a Spacewalk server. One of the final features I am trying to configure is Kickstart. I cannot seem to find any definitive documentation on how to set this up in a "real environment". ...
0
votes
2answers
1k 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

Kickstarting an Ubuntu Server 10.04 installation (DHCP fails)

I'm trying to automate the network installation of Ubuntu 10.04 LTS with an anaconda kickstart and everything seems to running except for the initial DHCP autoconfiguration. The installer attempts to ...
0
votes
0answers
11 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
39 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
39 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
1answer
179 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
25 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
51 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 ...
3
votes
2answers
797 views

How to turn off SSL certificate verification for RedHat Kickstartfile downloading

I'm using Foreman for RedHat 6.0 booting over ipxe (but that shouldn't matter ;) The kernel parameters used for booting are: kernel http://192.168.1.5/dist/rhel/6.0/os/x86_64/images/pxeboot/vmlinuz ...
1
vote
1answer
58 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
1answer
101 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
124 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
0answers
28 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
43 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 ...
2
votes
1answer
4k views

How can I troubleshoot a failing Linux kickstart installation?

I am having some trouble getting my pxebooting kickstart process working. The script is known to work when installed via a DVD with the local media on the disk. I have updated the script to work ...
4
votes
3answers
2k views

VMware ESXi CentOS 6.4 kickstart installation

I was trying to do a kickstart installation for CentOS 6.4 but it always show me a warning of re-initializing the HDD as it say may contain invalid partition table or a virtual disk. I have added ...
0
votes
0answers
165 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
311 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
1k 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 ...
0
votes
4answers
2k 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 ...
1
vote
1answer
839 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 ...
0
votes
0answers
128 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 ...
2
votes
3answers
413 views

Package list for Kickstart

Is there anyway I can get the package list off of a live Linux box and put that into a kickstart? Edit: Sorry...This is on a Fedora box
1
vote
2answers
1k views

RHEL 5.3 Kickstart - How specify location of individual package in Workstation folder?

I keep getting "package does not exist" errors during the install. I made a kickstart ISO to create an unattended install of a RHEL 5.3 build machine for C++ software releases. It pulls the ...
0
votes
0answers
80 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
38 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
82 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. ...
2
votes
1answer
12k views

How to create a custom ISO image in CentOS

I am trying to create a custom ISO image which would install the minimal required RPMS along with some custom written RPM of my app. and Also wants to perform some post install steps like configuring ...
1
vote
3answers
4k views

Installing RHEL/CentOS over FTP using kickstart

I have the following command to install CentOS using the virtual vsFTP server that I have at 192.168.122.1: virt-install --name kickstart.example.com --ram 768 \ --disk ...
6
votes
3answers
7k views

Kickstart installation from USB — Kickstart location

After managing to get a Fedora ISO to rebuild successfully (for a USB stick) after adding a kickstart file (http://serverfault.com/questions/548405/), I now have an issue with locating the kickstart ...
1
vote
1answer
337 views

Linux `alternatives --config` without user input

I am writing a RHEL kickstart script, and in my %post, I need to install a JRE. Basically, the current setup involves me needing to manually go in after first boot and set the newly installed JRE as ...
6
votes
1answer
825 views

Kickoff Ansible Playbook after Cobbler install

I am working on implementing Cobbler and Ansible to do our server deploys and am having one final issue. My Ansible playbook works great, my Cobbler install works great, but the issue is in tying them ...
0
votes
0answers
649 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 ...
3
votes
3answers
7k views

How to get CentOS 6 kickstart to ask for hostname?

I'm using the CentOS 6 netinstall ISO with some kickstart files on an http server. When the ISO boots I hit TAB and enter the boot options asknetwork ks=http://<ip-address>/path/to/kickstart.ks. ...
2
votes
2answers
213 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
votes
1answer
142 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
293 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
22 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?
1
vote
2answers
4k views

Red Hat Kickstart: How do I get a DVD-ROM based install to work?

I'm trying to create a "Magic DVD" that will install and configure RHEL 6.2 just the way we want it the first time, every time. Here's the process I've been trying to use, just to prove the concept: ...
0
votes
1answer
245 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 ...
0
votes
2answers
778 views

Optional 'network' statements in kickstart file?

I have a kickstart file which I want to use for machines with different numbers of network interfaces. When I have a KS file with multiple network clauses for multiple interfaces, anaconda refuses to ...
3
votes
5answers
409 views

Is there a way to run kickstart scripts on a pre-existing server?

We normally provision servers using kickstart scripts (served by Cobbler) when installing the operating system. But we are to be given a new server from an ISP that already has the operating system ...
2
votes
2answers
2k views

Kickstart based installation of RHEL 6.4 from USB

I want to setup some brand new servers with RHEL 6.4. Servers do not have DVD, so, I have to use USB for the installation. I already have a custom ISO with a kickstart file that I use on servers with ...
2
votes
0answers
663 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 ...
1
vote
1answer
125 views

Install Programs from Source in Kickstart Script

I'm working on a kickstart script for a custom Scientific Linux ISO. However I am running into an issue with installing some programs from source. Below is the general syntax I am trying. Where I ...