Stack Exchange Network

Stack Exchange network consists of 175 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]

The tag has no usage guidance.

0
votes
0answers
16 views

Network Team name is not getting set properly with kickstart

I am configuring team with kickstart file on CentOS 7.6, All working file except Name of team I put following code in kickstart network --device team0 --bootproto static --ip=192.168.127.11 --...
1
vote
2answers
28 views

mkisofs is not including tar.gz file in custom iso

I am customizing centos iso, i took standard CentOS-7-x86_64-DVD-1810.iso and extract it and custom folder and add my files. Now i am recreating custom iso with below command mkisofs -o centos-7-...
0
votes
0answers
12 views

Enable NetworkManager for Ethernet interface in Kickstart

i want to enabled NM_CONTROLLED=yes in /etc/sysconfig/network-scripts/ifcfg-eth0 from my kickstart file, my current line is like network --hostname=xdw.my.local --bootproto=static --ip=x.x.x.x --...
0
votes
0answers
40 views

install docker package on CentOS with kickstart and offline rpms

I am preparing a Custom CentOS 7 iso which will include kickstart and docker packages; I tried the below steps to make docker get installed with the installation of CentOS I downloaded docker with ...
0
votes
2answers
39 views

firewall not working as expected in kickstart

I have following line in kickstart for firewall firewall --enabled --service=ssh,glusterfs,tftp,ntp I am expecting tftp server should be accessible from other system, but it was only accessible from ...
0
votes
1answer
25 views

Can we use ftp in place of tftp in pxe boot

Tftp is used to get OS image from pxe server to client as it uses UDP for file transfer. But can we use ftp for the same. If yes then how and if no then why?
-1
votes
1answer
27 views

Copying files from Bootable USB to local Drive in %post script of kickstart

I have created bootable USB with custom folder in it, After installation i want to copy files from USB to local directory, Following is kickstart file %post section %post --nochroot --erroronfail --...
0
votes
1answer
33 views

Kickstart Post Issue

I remain fuzzy on what appear to be limitations to Kickstart's execution of a post-install script. My initial understanding was that the %post area of the kickstart file was to execute commands on ...
0
votes
0answers
144 views

Exclude packages in kickstart file

The Redhat kickstart documentation describes how to deselect/exclude packages in the packages section - i.e. one may put - in front of a package name to exclude it. But it doesn't fully work in this ...
0
votes
1answer
467 views

How to force GPT partitions in kickstart for Oracle Linux 6

I want to configure OL6 kickstart to install a system that boots from BIOS but uses GPT partitioning instead of MBR, even for disks <2TB. The relevant part of my kickstart file looks like this ($...
2
votes
1answer
53 views

How can I manage anaconda post install output visible on install console?

While running anaconda installer in unattended mode the post install steps are run in the background and nothing is displayed on screen. If things go wrong you are likely to not be able to see what ...
0
votes
0answers
839 views

How to avoid modprobe error could not insert floppy with dracut-pre-udev?

I do have machines or VMs that do not have a floppy drive and I want to avoid getting the below error message while loading the the anaconda kickstart installer on CentOS/Fedora. Currently the first ...
0
votes
2answers
33 views

How to prevent boot logo for systems deployed using anaconda kickstart?

I am looking for a way to prevent the Linux logo from appearing at boot time for a system deployed using Anaconda kickstart. Based on centos - Remove penguin logo at startup it seems that I need to ...
3
votes
1answer
195 views

Kickstart netinstall ignores kickstart file hosted in LAN and proceeds with manual installation

Virtual machines are hypervised by vmware workstation. I start my web server on vm1 - 192.168.0.31 running centos 7. I create and upload the kickstart file ks.cfg to 192.168.0.31/ks.cfg. You can look ...
1
vote
1answer
493 views

Centos7 How to identify Network Device name for a kickstart file

When the Rhel/Centos 7 operating systems moved forward to systemd, network device name configuration changed to predictable network device names There is an explanation for systemd's predictable ...
1
vote
1answer
407 views

How to get Fedora 28 text console install under KVM to not prompt about text mode vs VNC

I've been trying to get unattended linux installs (fedora 28 in this case) working under KVM for some time. I've got it mostly worked out but it still asks me if I want to use text mode or fire up VNC....
1
vote
0answers
318 views

CentOS Kickstart File

I am trying to install CentOS in VirtualBox via kickstart files. I have downloaded the CentOS Minimal installation (1708) and created a virtual machine with it. I am using the anaconda-ks.cfg file as ...
0
votes
0answers
26 views

Linux kickstart select default image

I have following kickstart /var/lib/tftpboot/pxelinux.cfg file with following content, I am looking for option where my kickstart default boot from centos6-64 image is no human interaction happened, ...
0
votes
0answers
114 views

Is there an option to log console output from package installation executed by kickstart?

I've built an ISO on top of CentOS 6 minimal that bundles some additional packages. Generally it works great, but some recent change I've made has broken it a little: the SELinux module I'm allegedly ...
0
votes
2answers
2k views

Kickstart does not add repos

I have a kickstart file I am trying to use for CentOS 7.4 installations. It works well, but it does not add the requested repos. I've run through this a few times and I'm sure it basically skips over ...
2
votes
3answers
2k views

Red Hat 7.4: How to inject kickstart file into USB media for UEFI-only system?

I am trying to build an installation image (to be transferred to USB media) for Red Hat Linux 7.4 with a custom kickstart file, and the corresponding ks= argument added to grub, but and can't figure ...
0
votes
2answers
150 views

Best practices to clone/create an image for the existing linux system [closed]

I recently had a CentOS6.9 system and I installed quite a lot of applications (from yum and also source code like specific python version). Now I need to do the same for multiple devices. Is there any ...
2
votes
2answers
2k views

How do I calculate Linux physical volume and volume group metadata overhead?

I am trying to install a CentOS 7.4 system using a kickstart file and have received the following error: 'new lv is too large to fit in free space' There is an additional message that 752.85MiB is ...
0
votes
0answers
177 views

Unable to Login to Custom CentOS created using Kickstart

The following is my kickstart configuration file: #version=RHEL7 # System authorization information auth --enableshadow --passalgo=sha512 # Use CDROM installation media cdrom # Run the Setup Agent on ...
1
vote
0answers
336 views

Why my anaconda-ks.cfg file doesn't contains the partitions and LVM settings?

I installed a Centos 7 into VMware Workstation using the dvd iso. When I open the /root/anaconda-ks.cfg, I can't find any reference to my disk partioning or LVM informations. Is it because I left the ...
0
votes
1answer
289 views

CentOS 7 need an usb device to boot

I have to install CentOS 7.3 on multiple computers with some packages and some configuration, so I opted for a kickstart installation. Theses computers doesn't have any CD player so I used Rufus ...
0
votes
1answer
576 views

Kickstart failing partition creation

I started with this in my kickstart file: %pre #*********************************************** # # Get disk name to generate partition # #*********************************************** DIR="/sys/...
1
vote
1answer
2k views

Why doesn't kickstart for CentOS 7 use my disk configuration?

I have exhausted Redhat's syntax guide, their advanced partitioning example, and a complex partitioning example on someone's blog. I have a fairly simple setup I want to achieve. Here is my kickstart ...
0
votes
2answers
518 views

How is the size of an LVM volume calculated?

Today I'm configuring kickstart, and when I tried to set the LVM sizes, Anacond protests that there is no free space to create LVM with VG size. Well I could figure out that --grow option can continue ...
2
votes
1answer
2k views

How can i include all recent updates during kickstart install on fedora/centos without %post

A standard install with a kickstart file on fedora or centos just installs the packages from the install repository, which are usually outdated after some days after the release of a new fedora/centos ...
1
vote
1answer
3k views

What's missing in my grub2 configuration for PxE

I'm trying to automate the installation of physical servers using PxE. In this case I'm installing Oracle Virtual Servers (OVS for short, RHEL/Centos-like systems with Xen and custom linux kernel). I ...
1
vote
1answer
300 views

Customized ISO will not install from a local kickstart on the installation CD

I am trying to make a easy system install for an air-gapped system, I have to install Oracle Linux 6. I am adding the required kickstart file to CD and having the system install from that. In a VM to ...
0
votes
1answer
336 views

Disable Fedora 26 Installer from connecting to OpenH264 Repos

We regularly install Fedora behind a firewall without Internet access for the system. The install is fully automated with kickstart and normally takes 10-15 minutes. All packages are installed from a ...
2
votes
1answer
176 views

CentOS PXE/Anaconda/kickstart waiting to gather enough entropy

When kickstarting a CentOS 7 system, with configuring full disk encryption, the anaconda process either hangs on obtaining enough entropy or will take the entire 10 minutes (timeout period). Is there ...
2
votes
1answer
140 views

Customizing CentOS7.0 - partition size

I use a kickstart file for a CentOS7.0 installation. I would like to configure the size of the root partition / so that it takes all the space available on the drive /dev/sda. The default setting ...
1
vote
0answers
145 views

Ignore certificate check while fetching kickstart file that is located in an un-trusted location

I have been using kickstart file that is located in remote (in an untrusted location). I want to fetch the kickstart file while booting the OS for automated installation. I used to mention my ...
1
vote
0answers
83 views

Kickstart script seems to be skipping over %post

I have set up a Kickstart script for Fedora 25 Server, and part of that includes some things in the %post section, including generating a root password and calling a Slack webhook to notify me with an ...
1
vote
1answer
174 views

Kickstart - Wallpaper configuration

I am writing a kickstart file for an automated & custom CentOS 7 (Gnome 2) installation. I would like to set the same desktop wallpaper for all my users (not only root). I didn't find any good ...
1
vote
0answers
1k views

'group does not exist.' and 'Not enough space in file systems'

A CentOS 7 host needs to install a CentOS 7 guest using virt-install and kickstart, but the approach documented below is not recognizing either the designated hard drive or the dependencies. What ...
0
votes
1answer
5k views

Static IP addresses with kickstart installation of CentOS 7

The following error is being thrown when a kickstart file is used to install a CentOS 7 guest virtual machine with static IP networking: [3.835698] dracut-cmdline[81]: parse-kickstart ERROR: ...
1
vote
2answers
751 views

KVM And Kickstart - Failing to turn off

I am building a tool to help me manage my KVM server. It generates a command that uses a kickstart file to automatically install KVM guests for me. Below is an example command that it generated to ...
2
votes
2answers
2k views

Can't monitor Kickstart post-install log

I'm installing Scientific Linux 7 (I've got no reason to this isn't the case with all RHEL forks though) with a Kickstart script that contains the following: %post --interpreter /bin/bash --log /root/...
0
votes
1answer
559 views

How can I load i686 rpms in a RedHat 7 kickstart

RedHat 7 only comes in a 64-bit version, as I'm sure most of you are aware. 32-bit versions of most common libraries are still available though, for the 32-bit programs that needs them. We would ...
0
votes
2answers
1k views

Unable to kickstart machine with spacewalk / 404 squashfs.img

I am using spacewalk 2.6 on a CentOS7 machine. I am trying to kickstart machine from the spacewalk server. For troubleshooting purposes, i have disabled SElinux For troublshooting purposes, i have no ...
2
votes
1answer
3k views

Kickstart not installing X on rhel 7.2

I'm trying to use kickstart and install a RHEL 7.2 system with a GUI. In my ks.cfg file I have specified these options to achieve a system that boots with X enabled. %packages --ignoremissing @...
1
vote
1answer
201 views

Can I create files in kickstart %pre, then later access those same files during RPM package installation and/or kickstart %post?

I read the post Differences between %pre and %post in Kickstart on CentOS?, which includes the following statement: %post runs chrooted into the new install root, or it can run in the root of anaconda ...
2
votes
1answer
82 views

Is there a simple way to create a “pre-patched” RHEL image?

These days, pretty much every desktop operating system is designed to constantly get new security updates from the Internet. It's a great and very necessary feature, and the tools for managing updates ...
3
votes
2answers
3k views

How to guarantee that kickstart installation will select a certain drive?

We're upgrading from RHEL6 --> CentOS 7. The host in question has the OS on /dev/sda, and has some supplementary data drives at /dev/sdb and /dev/sdc. When I run the kickstart installation, I ...
1
vote
1answer
512 views

Kickstart file in virtualbox failing to boot

I want to write a bash script that creates a Scientific Linux 7.2 iso with a custom kickstart file, creates a new VirtualBox VM, and installs the iso onto that VM. I have two scripts, installBaseOS....
1
vote
1answer
170 views

Can't virt-install during the kickstart of the hypervisor

We install physical machines using cobbler/kickstart. On theses physical machines we need to be sure that one specific VM is installed and will be running on startup, so we tried to install the vm ...