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
0answers
32 views

wipefs doesn’t clear raid or LVM data?

I have a kickstart file that attempts to handle the lack of support for RAID on /boot and /boot/efi by creating the partitions of the two RAID1-disks manually. When reinstalling, the script wipes the ...
0
votes
0answers
24 views

Make preinstlled, preconfigured custom Ubuntu Server .IMG

I want to: Take Ubuntu Server ISO. Automatically (non-interactively) install it. Install some additional packages into it, perform some configuration, add my software. Freeze the system into an .IMG ...
0
votes
0answers
16 views

kickstart config for metadata_csum in ext4

will my kickstart file not install ext4 FS without metadata_csum option ? partition / --onpart=hda1 --grow --fstype=ext4 --mkfsoptions="-O ^metadata_csum"
1
vote
1answer
74 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 ...
0
votes
0answers
179 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=...
0
votes
1answer
172 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 ...
0
votes
0answers
25 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 ...
1
vote
1answer
22 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 ...
0
votes
0answers
28 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 ...
0
votes
1answer
32 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 ...
0
votes
0answers
122 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) ...
0
votes
0answers
235 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 -...
0
votes
1answer
270 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 ...
0
votes
1answer
376 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,...
0
votes
0answers
258 views

Adding additional RPMs to custom Red Hat ISO via a kickstart file and new package repository

Overview: I am trying to create a RHEL7 ISO on an offline RHEL7 that is customized to my liking through additional RPMs and a kickstart file. Currently, I can boot with the kickstart file, and I am ...
0
votes
0answers
48 views

Centos7 Kickstart Dell FC640 (blade) failing. Centos6 works fine

I'm trying to image a node in a Dell FX2 modular chassis. The server node is a PE FC640. I have my kickstart servers set up, and they have been working fine, but for the life of me, I can't get these ...
1
vote
2answers
1k 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 %...
0
votes
0answers
282 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 ...
1
vote
2answers
783 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 ...
0
votes
0answers
113 views

kickstart where to put and fild files to be used in %pre and %post

I am writing a kickstart file for fedora 30 installs. I would like to access pre-made files, in different sections of the kickstart file (ie, %pre, %post, %ksappend, %packages, etc). I know that I ...
0
votes
1answer
144 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 ...
1
vote
1answer
414 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/...
2
votes
1answer
98 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 | ...
2
votes
1answer
327 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 ...
1
vote
1answer
70 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/...
1
vote
2answers
67 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,...
1
vote
1answer
67 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 ...
0
votes
2answers
322 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(...
2
votes
1answer
314 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 ...
2
votes
0answers
33 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 "*?...
0
votes
0answers
726 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 ...
1
vote
1answer
120 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. ...
1
vote
2answers
570 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 ...
2
votes
2answers
225 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 ...
1
vote
2answers
136 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 ...
-1
votes
2answers
220 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. ...
1
vote
1answer
240 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 ...
0
votes
1answer
341 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 ...
0
votes
1answer
455 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-...
2
votes
3answers
1k 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 ...
2
votes
1answer
328 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 "...
0
votes
2answers
3k 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 ...
2
votes
1answer
2k 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 ...
0
votes
1answer
190 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 ...
0
votes
0answers
125 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.
3
votes
2answers
6k 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 ...
0
votes
1answer
3k 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 ...
2
votes
1answer
394 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 ...
3
votes
1answer
432 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 ...
2
votes
1answer
959 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 ...

1
2 3 4 5 6