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
1 vote
1 answer
289 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
  • 942
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
2 votes
1 answer
2k 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 ...
miken32's user avatar
  • 964
2 votes
0 answers
51 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 "*?...
ImranRazaKhan's user avatar
0 votes
0 answers
6k 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 ...
Husk Rekoms's user avatar
1 vote
1 answer
568 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. ...
villapx's user avatar
  • 143
1 vote
2 answers
2k 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 ...
Jarrod's user avatar
  • 131
2 votes
2 answers
1k 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 ...
woky's user avatar
  • 275
1 vote
2 answers
296 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 ...
Server Fault's user avatar
  • 3,784
-1 votes
2 answers
476 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. ...
mpiotrak's user avatar
1 vote
1 answer
2k 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 ...
sorin's user avatar
  • 8,236
0 votes
1 answer
1k 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 ...
sorin's user avatar
  • 8,236
0 votes
1 answer
3k 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-...
sorin's user avatar
  • 8,236
3 votes
3 answers
3k 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 ...
sorin's user avatar
  • 8,236
2 votes
1 answer
1k 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 "...
Gidiyo's user avatar
  • 21
1 vote
2 answers
8k 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 ...
Baqir kazmi's user avatar
3 votes
1 answer
5k 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 ...
manash's user avatar
  • 159
0 votes
1 answer
596 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 ...
manash's user avatar
  • 159
0 votes
0 answers
204 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.
DarVar's user avatar
  • 101
4 votes
2 answers
11k 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 ...
Sagar's user avatar
  • 544
0 votes
2 answers
8k 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 ...
AnotherHowie's user avatar
2 votes
1 answer
817 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 ...
zachlowry's user avatar
3 votes
1 answer
1k 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 ...
Michael Moser's user avatar
2 votes
1 answer
3k 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 ...
Alex Mikhaelson's user avatar
0 votes
0 answers
1k 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 ...
Ram Kumar's user avatar
1 vote
0 answers
75 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 ...
chetan's user avatar
  • 11
1 vote
1 answer
548 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 !
user3742796's user avatar
1 vote
1 answer
1k 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:...
red888's user avatar
  • 4,253
1 vote
0 answers
486 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 ...
red888's user avatar
  • 4,253
0 votes
1 answer
695 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 ...
Andreas Rogge's user avatar
3 votes
1 answer
1k 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 ...
FireFaced's user avatar
0 votes
2 answers
955 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 ...
Wddysr's user avatar
  • 1
0 votes
2 answers
2k 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 #...
hashwagon's user avatar
2 votes
1 answer
2k 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 ...
red888's user avatar
  • 4,253
0 votes
1 answer
704 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 ...
Jacob Evans's user avatar
  • 8,006
5 votes
2 answers
2k 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 ...
Alex P's user avatar
  • 181
2 votes
2 answers
2k 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-...
miken32's user avatar
  • 964
1 vote
2 answers
5k 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 ...
Moses Jilugu's user avatar
0 votes
1 answer
597 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 ...
lievendp's user avatar
1 vote
1 answer
631 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 ...
Christoffer Reijer's user avatar
0 votes
1 answer
958 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 ...
AdnanEK's user avatar
2 votes
1 answer
4k 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 ...
Alex Mikhaelson's user avatar
6 votes
1 answer
17k 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 ...
Alex Mikhaelson's user avatar
1 vote
1 answer
2k 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 ...
miken32's user avatar
  • 964
0 votes
1 answer
4k 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#...
iletras's user avatar
  • 163
0 votes
1 answer
3k 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 ...
Brian5193's user avatar
-1 votes
1 answer
459 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, ...
Akshay's user avatar
  • 123
0 votes
0 answers
111 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 "...
bongcheekhoon's user avatar
1 vote
1 answer
631 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-...
Franklin Piat's user avatar
1 vote
0 answers
1k 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 ...
djc72uk's user avatar
  • 33