Questions tagged [kickstart]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

Stop VMWare from using EasyInstall on custom kickstart Ubuntu ISO

I'm making a custom Ubuntu 18.04 ISO using kickstart that is supposed to have only one user (I create it in the ks.cfg file). This is an ISO that we want to send to clients where they will have as ...
0
votes
0answers
74 views

CentOS/RHEL7 Custom Live ISO

I'm trying to generate a custom RHEL7 boot ISO that will run 'Live' such that the squashfs.img is copied to the ramdisk and the boot media is not required for operation. I have an ISO successfully ...
0
votes
1answer
42 views

How to set the interface name in `kickstart.cfg` file?

How to set the interface name in kickstart.cfg file? We know if we install CentOS system in a Server, there maybe eth0, ens0, ensxxx, eno1 and so on. I have questions, Why there will generate ...
0
votes
0answers
211 views

Ubuntu server installation stuck at “loading initrd.gz” ready in cobbler

Base OS: Centos7 Cobbler version: release28 I am trying to autoinstall ubuntu-18.04.3-server-amd64.iso via cobbler, but installation freeze at loading initrd.gz. Below is the kickstart file used: ...
1
vote
0answers
31 views

CentOS problem with mkisofs tool

I am trying to automate CentOS VM on ESXI using a kickstart file. After injecting the KS file I build the Custom iso using mkisofs tool. below is the command I used .\mkisofs.exe -J -R -v -T -o 'D:\...
0
votes
1answer
77 views

Can someone explain: strstr “\`cat /proc/cmdline\`” rd.live.image does?

Full line of code context: if ! strstr "\`cat /proc/cmdline\`" rd.live.image || [ "\$1" != "start" ]; then exit 0 fi strstr is defined as: strstr() { [ "${1#*$2*}" = "$1" ] && ...
0
votes
0answers
33 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
71 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
120 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
237 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
208 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
345 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
418 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
272 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
769 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
1k 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
249 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
2k 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
78 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
343 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 ...
2
votes
1answer
1k 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
552 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....
2
votes
0answers
588 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
38 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
229 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
5k 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 ...
3
votes
4answers
4k 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
305 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
3k 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
335 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
489 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
388 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
817 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
921 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
2answers
4k 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
5k 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
399 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
401 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
247 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
184 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
171 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
102 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
249 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 ...
1
vote
1answer
8k 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
990 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/...
1
vote
1answer
716 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 ...