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, ...)

Filter by
Sorted by
Tagged with
2 votes
0 answers
33 views

Fix kickstart drift between CentOS 8 Stream behavior and CentOS 9 Stream behavior

I'm facing a weird situation on one of my server on the provisioning process. Here is the machine HW Model: HPE Proliant DL365 Gen 10 Plus with 6x 1.9TB SATA 6GBps SSD disks. What's going on: When I'm ...
Dr I's user avatar
  • 975
1 vote
1 answer
101 views

CentOS 7 kickstart file, add entry to /etc/hosts

I have a CentOS 7 kickstart file working quite nicely, mostly. The %packages section fails because I need to add an entry to /etc/hosts to point mirrorlist.centos.org to our internal company repo. I ...
MikeKulls's user avatar
  • 376
0 votes
0 answers
88 views

LUKS encrypted, fails to open with /etc/crypttab

#platform=x86, AMD64, or Intel EM64T #version=DEVEL text url --url=http://caching-proxy/repos/rhel8/8.5/rhn/base/unstable repo --name=cache-rhn-base --baseurl=http://caching-proxy/repos/rhel8/8.5/rhn/...
Bennelong Ryde's user avatar
0 votes
0 answers
208 views

Issues with Kickstart on Fedora 38

I'm having an issue where I receive the following errors when attempting an install with Anaconda Kickstart. The input below is the default when I enter the ‘inst.ks’ option Input: setparams 'Install ...
brokaryote's user avatar
0 votes
0 answers
55 views

Kickstart %ksappend Filepath

I'm trying to modularize my kickstart file; in particular, I'd like the %pre section to live in a separate file brought in using the %ksappend statement. However, this consistently fails with the ...
SixDegrees's user avatar
2 votes
2 answers
2k views

install rhel9 system using kickstart over http fails

I am trying to install a rhel9 system (vm) with a kickstart file. The kickstart file was created using the anaconda-ks.cfg from a manual install of a previous rhel9 system (changed the ks file with ...
eliko's user avatar
  • 63
2 votes
0 answers
188 views

Module RPMs makes kickstart installation of RHEL based distributions unusable

The title of the post has it all. The first steps to migrate from CentOS 7 to Rocky Linux 8 fail (in my eyes) because of module RPMs. If something is installed the traditional way via dnf, dnf notices ...
Volker Raschek's user avatar
0 votes
1 answer
239 views

Questions about PV.<ID> syntax in ks.cfg

Here just for example: part pv.01 -size=100 -grow -ondisk=/dev/sda part pv.02 -size=300 -grow -ondisk=/dev/sdb Is the purpose of the PV.<ID> usage merely used to customize the initial size of ...
lylklb's user avatar
  • 3
2 votes
0 answers
69 views

completely media-less kexec install of a rhel-based distro?

I'd like to be able to install a small redhat server from kexec without media being present on the system during the installation (no hdd, removable media, or network). This seems feasible because I ...
Brian Chrisman's user avatar
0 votes
0 answers
132 views

Kickstart for CentOS9

Is there a kickstart feature in CentOS9? When I try to install system-config-kickstart I am getting the following message No match for argument: system-config-kickstart Error: Unable to find a match: ...
Imran Afzal's user avatar
0 votes
1 answer
252 views

Kickstart Partitions

Hi I wrote the kickstart file for centos 7. It works great but in some machines because of partitioning 2 disk drives which should be determined like sda and sdb I have issues USB boot drive is ...
gertz's user avatar
  • 3
0 votes
1 answer
88 views

Force to create admin user, if root was locked

I've created a kickstart file for automated installation of CentOS 7. Idea is to make foolproof oem installation, so root is locked, user have to be created on final part of installation. But here is ...
Artem Chernyshev's user avatar
1 vote
0 answers
82 views

Spacewalk kickstart installation does not automatically begin until the enter key is pressed

I am trying to automate the linux installation process using Spacewalk 2.10. Everything else seems to be working, except I have to select the boot option by manually pressing the enter key. Otherwise, ...
heavyguidence's user avatar
0 votes
0 answers
2k views

Centos Stream 9 boot iso stuck during kickstart

I am trying to install a Centos Stream 9 boot iso on my mac M1 via VMware Fusion. I already solved a lot of issues that were preventing me to start installation. Now I get to the installation (I am ...
YFrickx's user avatar
0 votes
0 answers
755 views

Kickstart Fedora server iso using usb

Hi I need to create a Fedora Server image with my application in it using kickstart installation. I have executed following steps : Downloaded the fedora35 Image from https://getfedora.org/en/server/...
dchourey's user avatar
0 votes
1 answer
533 views

Centos Kickstart - partitioning fails because of arbitrary disk order

I've prepared a kickstart file for a Red Hat Virtualization 4.4 VM with 3 virtio-scsi disks with different disk sizes: # System bootloader configuration bootloader --append=" crashkernel=auto&...
msr's user avatar
  • 33
1 vote
0 answers
716 views

How to prepare custom Alpine Linux ISO for unattended installation

I am evaluating Alpine Linux to replace CentOS, Currently we prepare Custom ISO with kickstart for unattended installations. In my case from unattended I mean that deployer just put USB and after that ...
ImranRazaKhan's user avatar
1 vote
1 answer
487 views

Can you use a proxy server to retrieve a kickstart file?

I would like to access a kickstart file through a proxy. The kickstart file is hosted on the public internet but the server doing the install can only access the internet through a proxy. The ...
dranobob's user avatar
  • 151
1 vote
1 answer
655 views

How to redirect the kickstart output to the serial console?

I am trying to automate a server build using HP's ILO virtual serial interface to avoid the advanced license. When the kickstart file is running, none of the output is sent to the serial console. ...
dranobob's user avatar
  • 151
0 votes
0 answers
117 views

How to force creating an extended partition in before the last primary partition in kickstart?

I am searching for a way to write a kickstart partition section where I can control precisely which partitions are primary, and which partitions are secondary partitions in a extended partition. I don'...
iXô's user avatar
  • 111
1 vote
1 answer
641 views

Can't install RedHat 8.4 offline from DVD

I'm trying to install RedHat 8.4 on a workstation in an isolated network. Is there a way to do it without connecting to the web or a server on the same network ? The GUI does not seem to provide the ...
cg_foreau's user avatar
  • 113
1 vote
2 answers
3k views

OEL8 kickstart install on ESXi - hangs at "Reached target Basic System" - why?

I am trying to install OEL8 on ESXi 7 with a kickstart file. I have the ks.cfg hosted on an http server on the local subnet. The ks.cfg settings are taken from a manually installed OEL VM's anaconda-...
ohlylo's user avatar
  • 11
1 vote
1 answer
593 views

KVM/QEMU CentOS 8 kickstarted VMs have broken networking, are unreachable

I can't understand why the VMs I create using virt-install & kickstart do not have networking that can be accessed reliably from foreign hosts. The VMs I created using virt-manager can be logged ...
mr.zog's user avatar
  • 931
1 vote
0 answers
275 views

IPXE boot on amd based architecture with NVME

We have a quite big infrastructure and now we started to use AMD based servers instead of the intel ones with 1 nvme only for os. We are using ipxe to kickstart the servers but for some reason with ...
Rebron Treborn's user avatar
0 votes
1 answer
800 views

Ubuntu Kickstart - LVM Partitioning using two HDD's not working and fdisk -l output makes no sense on successful single disk deploy

I have read so many kickstart configs and pressed recipes that my head is spinning, and I just need some help or clarification regarding this. Before I go too much into the config, the gist is that I ...
PM5K's user avatar
  • 101
0 votes
0 answers
317 views

Centos 8 Kickstart installation ignoring custom partioning

I am installing Centos 8 on a hard drive that already has a Centos 7 installation. I created a kickstart file by performing the installation manually. When I try to use the kickstart file it fails ...
user810702's user avatar
5 votes
0 answers
1k views

Users created in Kickstart unable to authenticate

Thanks to the answers to this question, I've been happily generating Kickstart files for Scientific Linux 6 and 7 for the past 5 years. However, we're now starting to build out some test systems with ...
miken32's user avatar
  • 950
0 votes
0 answers
778 views

CentOS 8 KVM under CentOS 7 -- Kickstart Network Install Fails

We have CentOS 8 KVM running under CentOS 7. Everything seems to be working well for us once the KVM is up and running. We are using kickstart to bootstrap the KVM. We are having problems ...
Greg Sims's user avatar
  • 101
1 vote
1 answer
448 views

Centos7 PXE Network Install with Kickstart Script - How to copy across folders / files from network during install?

I have a PXE server for network installations (configured similar to, e.g. https://www.linuxtechi.com/configure-pxe-installation-server-centos-7/) and am using a Kickstart script to automatically ...
SLater01's user avatar
  • 113
2 votes
1 answer
4k views

Kickstart create users and add to groups

I'm doing a CentOS 8 automated install. I've previously had no problem creating a single user and adding it to a group like so: user --name=othername --password=big_long_hash --iscrypted --groups=...
miken32's user avatar
  • 950
1 vote
2 answers
2k views

PXE kickstart install of CentOS 8 wants files that don't exist on DVD

I'm trying to use the CentOS-8-x86_64-1905-dvd1.iso as the http source for my PXE/kickstart install. I'm struggling to understand why the installer is looking of squashfs.img and a directory named ...
mr.zog's user avatar
  • 931
0 votes
0 answers
149 views

pass an anaconda boot option to a kickstart file in rhel7 initial install

Is there a way to pass an anaconda boot option to a kickstart file, where it could be used as a variable. Say anaconda boot cmd is xxxx ip=xxx.xxx.xxx.xxx netmask=255.255.255.0 gateway=xxx.xxx.xxx.1 ...
BMc's user avatar
  • 1
1 vote
1 answer
327 views

Where to store configuration files available in kickstart into custom Centos ISO

Context Centos 7 Kickstart Issue According to RH documentation : --nochroot: Allows you to specify commands that you would like to run outside of the chroot environment. The following ...
Alrick's user avatar
  • 143
0 votes
0 answers
43 views

Creating a script for Kickstarting servers; issue with created softraid 1 server based on CentOS 7

First off; I am sorry if my title is incorrect, but I didn't want to "clutter" it too much. I am creating a bash script which is used to install various servers based on CentOS 6 and CentOS 7 with ...
HudsonHawk's user avatar
0 votes
1 answer
249 views

Bonding Fails in Kickstart %pre Section

I am trying to setup a bonded network from the %pre section of a CentOS 7 kickstart. I can prove the the following bonded network works: network --device=mynetwork --bondslaves=eth0,eth1 --bootproto ...
Agricola's user avatar
  • 131
0 votes
0 answers
354 views

Ubuntu 16.04. Netinstall kickstart fails

i'm trying to install a server via pxe with ubuntu 16.04. server. So what does fine is the PXE Boot label install (x86_64 - Ubuntu 16.04) menu label Installer (x86_64 - Ubuntu 16.04) ...
Kjellson's user avatar
0 votes
0 answers
548 views

kickstart installation is not starting on redhat linux (AWS)

I want to make a kickstart installation of centos 7 however, the VM starts but route me to a manual textuel installation (which succeeds). I run this commad to start the installation virt-install -...
Adel ESSAFI's user avatar
0 votes
1 answer
2k views

Execute half of the %post section of a kickstart in a nochroot environment and the other half in a chroot environment

I am trying to execute a script that performs certain security configurations on my recently installed system. Much of the script refers to files starting with / as the base directory which presents ...
peachykeen's user avatar
0 votes
1 answer
3k views

Have a kickstart file run an independent script file from its %post section

If I wanted to run a shell script that was its own file from my RHEL7 kickstart's %post section, where would I need to put that extra file and what would be the path I would use to run it? For example,...
peachykeen's user avatar
2 votes
3 answers
7k views

Kickstart CentOS 7 with pre-defined static IP and hostname (%pre) and used in KS, possible?

I don't know if this is possible, but going to ask anyways. I am trying to Kickstart newer servers of us with CentOS 7. So far I got most working, however for some reason if I use variables in the %...
HudsonHawk's user avatar
0 votes
0 answers
2k views

Unable to open input kickstart file curl#37

Getting the below error while installing from ks.cfg unable to open input kickstart file curl#37 Couldn't open file /tmp/swappart Here am trying to include /tmp/swappart file from pre section under ...
user3132525's user avatar
3 votes
2 answers
4k views

Kickstart CentOS 7 with software RAID 1, but no LVM needed

I am going to Kickstart a CentOS 7.x installation with software RAID 1 remotely for the first time. So I am kinda inexperienced at this and wondering what I need to make this work correctly. A CentOS ...
HudsonHawk's user avatar
0 votes
1 answer
707 views

GRUB installing CentOS 7 on CentOS 6 machine with kickstart

I am wondering if someone can provide some help. I am trying to do an automated install (with kickstart file) with CentOS 7 on a CentOS 6 server. However I have failed multiple times so far. I did ...
HudsonHawk's user avatar
1 vote
1 answer
1k views

RHEL 7.6 - Bootable USB created with kickstart only works on the system it was created on

[Edit] I got it to work using this thread: https://access.redhat.com/discussions/1422213 The actual script was simlar to this: mkdir "/var/tmp/RHEL-7.6 Server.x86_64" # cd "/run/media/jradtke/...
Jack BeNimble's user avatar
2 votes
1 answer
322 views

Can I use variables when referring to volume groups and logical volumes in a kickstart file?

I have variables set up in the %pre section that look like this: %pre VOLGROUP=$(lvdisplay |grep VG | awk '{print $3}' |head -1) vgchange -a y $VOLGROUP ROOTVOL=$(lvdisplay |grep root | grep Path | ...
mr.zog's user avatar
  • 931
2 votes
1 answer
4k views

Kickstart install: what disk name should I tell Anaconda to use? (Installer running from USB thumb drive.)

I'm running the CentOS 7.6 installer from a USB thumb drive using a kickstart file. I'm installing to a system that has only one disk. In the bash shell of the installer, my system's hard drive shows ...
mr.zog's user avatar
  • 931
1 vote
1 answer
295 views

Using a kickstart file with liveinst

I have a kickstart file that I generated while doing a manual, graphical install. I'm trying to use this kickstart file while booted to CentOS-7-x86_64-LiveGNOME-1810.iso and running /usr/bin/...
mr.zog's user avatar
  • 931
1 vote
2 answers
380 views

How do I resize a logical volume to the size of the filesystem within it?

Target system is CentOS 6.x but resizing operations will be done in %pre section of CentOS 7.6 kickstart. I have already run resize2fs -M /dev/mapper/centos-home successfully. If I mount the volume,...
mr.zog's user avatar
  • 931
1 vote
1 answer
264 views

Is it possible to check the available space of a Linux logical volume without mounting it?

I have a project that requires me to shrink the root and home volumes on an existing CentOS 6 install to make room for a CentOS 7 install on a customer's bare metal host. Yes, I know what a bad idea ...
mr.zog's user avatar
  • 931
0 votes
2 answers
2k views

Firewall rules not working in post script of kickstart

I am installing centos with kickstart and during installation in post script it suppose to update device over tftp. in my script i trigger that device which ultimately copy firmware from my system(...
ImranRazaKhan's user avatar

1
2 3 4 5 6