Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [kickstart]

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

0
votes
0answers
18 views

How to prevent boot again from PXE NIC after successful automated installation of CentOS on Vm using Kickstart Configuration file?

I have successfully installed (Automated) CentOS 7 using PXE Network boot with kickstart Configuration file. I have configured PXE Server on a VM & installing CentOS 7 on PXE Client VM. The ...
0
votes
0answers
35 views

Centos installation stopped at Packages installation process with bug “No such Group:core”

I am installing CentOS 7 using kickstart configuration file. i have followed the link How to create a custom ISO image in CentOS to create my iso. However i am facing a bug during packages ...
0
votes
1answer
123 views

How to install CentOS 7 on VM with kickstart file ks.cfg without Network (offline mode)

I am trying to install CentOS 7 on my VM using Kickstart Configuration file ks.cfg. All I need is to install CentOS 7 on my VM without using network (offline). I have created a ks.cfg file with ...
0
votes
0answers
8 views

How to create randomly keyed swap with Kickstart

I want to create an encrypted swap partition using Kickstart. Instructions on how to create encrypted swap manually are in the related question How to create a randomly keyed, encrypted swap ...
1
vote
0answers
281 views

CentOS 7 kickstart hangs

I'm trying to install CentOS 7 using kickstart. I created a bootable USB key containing a modified ISO. I'm not able to launch a regular installation with the inst.ks parameter. I precise that the ...
0
votes
0answers
90 views

Making CentOS7 .iso with Mate Desktop

I aim to create a Centos ISO with preinstalled Mate desktop environment. http://www.smorgasbork.com/2012/01/04/building-a-custom-centos-6-kickstart-disc-part-1/ How to create a custom ISO image in ...
0
votes
0answers
20 views

CentOS 7 kickstart arguments

How to pass arguments to a kickstart installation procedure on CentOS 7? I need to install multiple servers that have similar configuration except some differences that I would like to pass to ...
0
votes
0answers
35 views

nmcli doens't work with kickstart

I am trying to fix an issue with our kickstart files and I am somewhat at a loss. The way the configuration is handled is that it starts booting through DHCP at which point it's given the only ...
0
votes
0answers
51 views

centos kickstart still has 60 second wait for automatic boot

Is there any kickstart or boot option I can use to tell CentOS7 to automatically boot. Currently I'm still getting below 60 second wait before the kickstart install to proceed.
1
vote
2answers
1k views

Error: XFS filesystem is not valid as a default fs type

Ultimate goal: Create an automated installation disk for CentOS, using a kickstart config file stored on an internal website. What I've done: Created a script that downloads an ISO unpacks it ...
0
votes
1answer
470 views

How to add a DUD driver to CentOS/RHEL 7 media (without network)?

I'm working on making an offline installer for something I currently build using PXE and RHEL 7. The servers concerned (Dell 14G) need an addition driver loaded for the RAID controller. In the PXE ...
0
votes
0answers
24 views

failed to add member /dev/sdh to md array /dev/md/127_0: > mdnominate failed for /dev/sdh, what could be possible wrong with this sata disk?

failed to add member /dev/sdh to md array /dev/md/127_0: > mdnominate failed for /dev/sdh, what could be possible wrong with this sata disk ? whereas with another smiliar hardware having the same ...
2
votes
1answer
136 views

Tailoring file on kickstarted RHEL7.4 installation causes OSCAP plugin to not remediate

I'm having trouble getting RHEL7.4 to use a tailoring file with the OSCAP addon . I've taken the following steps to make this work. Created a customization RPM using the scap-workbench tool Added ...
3
votes
1answer
104 views

Kickstart: Can you determine %package selections in %pre

I've been looking around, and haven't yet seen an example of anyone using logic to determine packages/package group selections for options beneath %packages. I'm trying to have kickstart install ...
2
votes
1answer
284 views

Disabling logging in as root via kickstart? Advice recommendations?

This is a two part question. Firstly, I am just looking to validation, if I am doing this correctly since I am not sure how to test this. The goal is to disallow the login of the root account and have ...
0
votes
0answers
222 views

Linux PXE build unable to download kickstart file over http

I am working on setting up a PXE based build system in our environment. Short description on how it will work is, server will boot into network, get an IP address and PXE server details from DHCP ...
1
vote
0answers
46 views

semi automated kick start in centos7

I want to have semi automated kick start where option already made default in kick start file should not be editable by user i.e if i have by default made values for timezone language and other user ...
1
vote
1answer
122 views

how to add custom additional rpm to existing distro in cobbler?

how to add custom rpm to existing distro in cobbler ? I have tried copying additional rpm packages to the repo URL, but it doesn't pick it from there !
1
vote
1answer
368 views

How to dynamically pass hostname to kickstart file with cobbler

In the kickstart file you can set the hostname like this: network --hostname=derp.fart I can create a new system with this command cobbler system add --name=MYNEWSYSTEM --profile=string --mac=AA:...
1
vote
0answers
161 views

How to manually boot a system to cobbler and assign a kickstart profile base on MAC without PXE

I can manually point a linux host to the cobbler server's kickstart profile from the centos 7 boot screen by plugging in inst.ks=http://10.1.1.1:80/cblr/svc/op/ks/profile/derpprofile and that works (I ...
0
votes
1answer
224 views

How to disable disk device user-friendly names in a RHEL 7 kickstart file

We're right now in the process of deploying a set of fibre-channel connected hosts with multipathed root disks. The installation is automated through foreman, so we boot vie PXE and run anaconda with ...
3
votes
0answers
247 views

Have Kickstart automatically generate a root password on install

I am currently working on multiple Kickstart configs for my company to allow for easy VM deployment. I cannot find any documentation showing how to have Kickstart generate a root password. Is it ...
0
votes
2answers
404 views

CentOS update package in install folder

I was trying to deploy CentOS from PXE with an install directory extracted from latest iso (1611). Install failed (with or without kickstart) because of microcode_ctl package, after some researches I ...
0
votes
2answers
1k views

Kickstart Ubuntu 16.04 Post Install Chown

chown command issue in kickstart installation I'm trying to run a chown myuser:myuser at the end of the %post section in my ks.cfg file. Everything before the chown runs successfully. ks.cfg #...
1
vote
1answer
453 views

Use a dynamic value in a kickstart file

I have a kickstart file I would like to reuse for machines of varying disk size. Can I statically set my volume sizes but then have it allocation the rest of the space to a single volume? For example ...
0
votes
1answer
338 views

VMware guest PXE boot fails and hangs, Can It auto-retry?

I use Kickstart to build most of my virtual machines which is consistent and repeatable. However, when I'm building 100+ machines, many times they get stuck mid-install and need a CTRL-Alt-Ins to get ...
5
votes
2answers
713 views

How do I force Anaconda's SCAP add-on to let me use a USB keyboard?

The problem I'm creating an RHEL 7.3 installation image with a custom kickstart file. I can add this to my kickstart file to enable SCAP configuration during installation: %addon org_fedora_oscap ...
0
votes
1answer
396 views

nmcli is not working in Kickstart script

I have the following commands in a Kickstart post-install script: firewall-offline-cmd --new-zone=management firewall-offline-cmd --zone=management --add-service=ssh --add-service=snmp firewall-...
1
vote
2answers
2k views

CentOS 7 kickstart accept EULA and shutdown

I want to setup a kickstart to install a VM with KVM. How do I instruct KVM to accept the EULA and then shutdown the VM at the end of the installation? Here is an extract of my kickstart. I have tried ...
0
votes
1answer
185 views

virt-install with pxe fails when using fixed ip in kickstart file

Using virt-install to deploy a qemu domain (CentOS 7) fails when I set a fixed ip in my kickstart file. It works just fine with dhcp bootproto set in the same kickstart file. The virt-install command ...
1
vote
1answer
212 views

How configure networking knowing the MAC but not device name?

Background: I intend to use Kickstart to automate the deployment/configuration of CentOS 7. I am trying to generate an appropriate Kickstart file to pre-configure networking for the operating ...
0
votes
1answer
479 views

Unattended Kickstart Install of KVM VM Not Automated

I am trying to automate the kickstart install of CentOS 7 on a KVM virtual machine. My host system is also CentOS 7. I have the contents of the CentOS 7 DVD hosted on a vsftp server running on my host ...
3
votes
1answer
2k views

CentOS 7 Kickstart - Software RAID 10 and LVM

So I am not sure why I am having this issue, so I hope someone can see something I am missing. I created a kickstart file for a test Cent OS 7 automated install. Nothing seems to generate a warning ...
6
votes
1answer
6k views

CentOS/RHEL 7 LVM Partitioning in Kickstart?

I am trying to learn more about partitioning in Linux, specifically LVM partitioning. So I have been looking through many sources on this, various examples, but none of them seem to go into more ...
1
vote
1answer
638 views

Kickstart creates 2 configuration files for same network interface

Trying my first Kickstart with Scientific Linux 7, and have ironed out most of the bugs with migrating my scripts from SL6, but one remains. I boot the VM on DHCP to pull the Kickstart file from an ...
0
votes
1answer
1k views

kickstart %include can't open file

I want to break out my kickstart user definitions into a separate file. Trying to pull that file in with %include, I get an error that breaks the install: Unable to open input kickstart file: curl#...
0
votes
1answer
988 views

Running yum commands from the %post section of a kickstart

I'm currently installing RHEL 6 using a kickstart file. I'm attempting to conditionally install a package. The order of when the package is installed does not matter to me. Right now, my %post ...
-1
votes
1answer
259 views

Network Boot via Ansible

Environment - I've installed Ansible and using its vSphere_Guest API. This is connecting to my vSphere and successfully creating a virtual machine. I already have a satellite server with kickstart, ...
0
votes
0answers
34 views

Line in kickstart config is not running?

I use kickstart to automate the installation of custom centos 7. And everything is fine until this line in the kickstart config inside the %post section. echo "#!/bin/bash" >> /script.sh echo "...
1
vote
1answer
343 views

Prevent from installing open-vm-tools-desktop / @platform-vmware on EL 7

When installing RHEL 7/CentOS 7 as a VMware ESX guest, the installer (Anaconda) automatically detects the virtualization host, then install the appropriate tools (open-vm-tools and open-vm-tools-...
1
vote
0answers
678 views

Linux Kickstart Network Pre Script

I'm attempting to achieve a hands off Linux installation with minimal input from the user. I've been successful so far with the exception of including the network parameters. I've included within my ...
5
votes
1answer
672 views

kickstart over HTTPS only

Background: Kickstarting RHEL7 on powerppc (IBM pSeries) So I've kickstarted unattended for years, and had to use yaboot, NFS, etc. for kickstart in the past. Trying to modernize now. I have a ...
0
votes
1answer
183 views

Centos 7.2 (Build 1511) installer unexpectedly quits sometimes, when installing via network with kickstart file

I have been experiencing an intermittent problem when installing CentOS 7 from a USB stick, using the network installer. The kickstart file is found via URL and installation proceeds normally, through ...
0
votes
1answer
736 views

kickstart logical volume on specific disk

Is it possible, in kickstart, to specify which physical volume a logical volume gets created in? I have: clearpart --all --initlabel --drives=sda,sdb,sdc,sdd zerombr part /boot --asprimary --fstype=...
1
vote
1answer
459 views

Pass variables to Kickstartfile Networking part in RHEL7.2 Installation

I want to pass variables to my Kickstartfile (I`m using RHEL7.2 Image). What i know: you can read the /proc/cmdline file to get custom variables. But this only works in the %pre or %post section. Is ...
2
votes
1answer
3k 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
69 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 %...
1
vote
2answers
2k 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
326 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 ...
1
vote
1answer
801 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 ...