2022 Developer Survey is open! Take survey.

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
0 votes
0 answers
203 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 ...
user avatar
0 votes
0 answers
58 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/...
user avatar
0 votes
1 answer
55 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&...
user avatar
  • 23
1 vote
0 answers
166 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 ...
user avatar
1 vote
1 answer
83 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 ...
user avatar
  • 151
1 vote
1 answer
130 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. ...
user avatar
  • 151
0 votes
0 answers
36 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'...
user avatar
  • 111
0 votes
1 answer
106 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 ...
user avatar
1 vote
2 answers
960 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-...
user avatar
  • 11
1 vote
1 answer
455 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 ...
user avatar
  • 900
1 vote
0 answers
147 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 ...
user avatar
0 votes
1 answer
422 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 ...
user avatar
  • 101
0 votes
0 answers
158 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 ...
user avatar
4 votes
0 answers
665 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 ...
user avatar
  • 882
0 votes
0 answers
533 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 ...
user avatar
  • 101
1 vote
1 answer
254 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 ...
user avatar
  • 113
1 vote
1 answer
2k 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=...
user avatar
  • 882
1 vote
2 answers
1k 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 ...
user avatar
  • 900
0 votes
0 answers
56 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 ...
user avatar
  • 1
1 vote
1 answer
40 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 ...
user avatar
  • 143
0 votes
0 answers
39 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 ...
user avatar
0 votes
1 answer
96 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 ...
user avatar
  • 121
0 votes
0 answers
295 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) ...
user avatar
0 votes
0 answers
459 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 -...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
0 votes
1 answer
2k 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,...
user avatar
1 vote
3 answers
5k 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 %...
user avatar
0 votes
0 answers
1k 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 ...
user avatar
3 votes
2 answers
3k 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 ...
user avatar
0 votes
1 answer
397 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 ...
user avatar
1 vote
1 answer
876 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/...
user avatar
2 votes
1 answer
203 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 | ...
user avatar
  • 900
2 votes
1 answer
2k 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 ...
user avatar
  • 900
1 vote
1 answer
166 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/...
user avatar
  • 900
1 vote
2 answers
176 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,...
user avatar
  • 900
1 vote
1 answer
183 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 ...
user avatar
  • 900
0 votes
2 answers
1k 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(...
user avatar
2 votes
1 answer
937 views

Preserve existing volume during Kickstart install

So, I've got a server running Scientific Linux 6.9 that I want to install 7 on. Upgrades are apparently not supported, so I need to do a clean install, which is fine. I installed the SL6 server using ...
user avatar
  • 882
2 votes
0 answers
40 views

How to Open Telnet Console in post section of Kickstart [closed]

I want to configure external VxWork based device in post section of kickstart file, this accept telnet based commands. I found following #!/usr/bin/expect -f send -- "terminal length 0\r" expect "*?...
user avatar
0 votes
0 answers
2k views

Networking configuration during Kickstart

We have recently run into an issue where ipconfig is no longer able to pick up networking during the post install portion of our anaconda kickstart file. This is preventing our boxes from installing ...
user avatar
1 vote
1 answer
328 views

Do SELinux management commands operate on the kernel or the filesystem?

We're installing RPMs into a CentOS 7 system using Anaconda + Kickstart, which does a chroot into the target system's environment and installs all of the RPMs we specify in our Kickstart config file. ...
user avatar
  • 141
1 vote
2 answers
1k views

How can additional routes be added to anaconda kickstart?

I frequently build centos7 servers and have a few special networking requirements. For example, I may want to use nameservers or repositories in private ranges that can't be reached via my normal ...
user avatar
  • 131
2 votes
2 answers
654 views

Kickstart, universal install script and default passwords

I'd like to make an universal automated install script using Kickstart, which would be placed on a CD and used in conjunction with standard DVD installer, i.e. the user of this script would need to ...
user avatar
  • 225
1 vote
2 answers
220 views

Ubuntu 16.04 installer: any way to save setup info for a preseed?

Is there a way to save my setup selections from a regular CDROM install for use as a preseed or kickstart file? I'm experimenting with booting hosts from PXE to standardize Ubuntu installations and ...
user avatar
  • 3,434
-1 votes
2 answers
363 views

CentOS7 Kickstart issue

I've prepared a ks.cfg file and validated it with ksvalidator, however it doesn't seem to do what I wish it was doing. For example - it keeps going into graphical mode despite specifying text option. ...
user avatar
1 vote
1 answer
708 views

How to assure the same MAC address is used to bond interfaces using anaconda kickstart installer?

I observerd that the bond0 interface I create at install time may randomly use the MAC address of the first or second interface. This is causing problems because it means that the ARP information of ...
user avatar
  • 7,468
0 votes
1 answer
823 views

How can I configure anaconda kickstart to assure its installs all updates from start?

I am using anaconda kickstart installer to provision fedora 28 baremetals but I found that by default i does not install all updates. I do want to avoid having to run a an yum -q -y update during the ...
user avatar
  • 7,468
0 votes
1 answer
2k views

How to make rpm install from user avoid curl SSL errors?

I am trying install a RPM from an url directly from anaconda kickstart (CentOS7) %post phase but I encountered an interesting error: ``` + rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-...
user avatar
  • 7,468
3 votes
3 answers
2k views

Can I unsilence kickstart step Performing post-installation setup tasks?

While anaconda kickstart installer runs the "Performing post-installation setup tasks" tasks are not visible on console and their outcome is only saved to ks-post.log file. I do want to also display ...
user avatar
  • 7,468
2 votes
1 answer
805 views

How to point rhel kickstart iso source to local DVD

Somehow because of driver issue. I am unable get iso source over network. Just wondering if I can point it to a DVD media for the iso installation. Instead of "url --url http://server/path" maybe "...
user avatar
  • 21

1
2 3 4 5 6