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, ...)
298
questions
0
votes
1
answer
2k
views
kickstart logical volume on specific disk
Is it possible, in kickstart, to specify which physical volume a logical volume gets created in?
I have:
clearpart --all --initlabel --drives=sda,sdb,sdc,sdd
zerombr
part /boot --asprimary --fstype=...
1
vote
1
answer
2k
views
Pass variables to Kickstartfile Networking part in RHEL7.2 Installation
I want to pass variables to my Kickstartfile (I`m using RHEL7.2 Image). What i know: you can read the /proc/cmdline file to get custom variables. But this only works in the %pre or %post section. Is ...
3
votes
1
answer
8k
views
CentOS 7 kickstart - Skip media check during unattended installation?
Is there any way to skip the media check screen during unattended text-mode installations of CentOS 7?
I usually install using the minimal ISO, and I've noticed that I need to press ESC once or twice ...
0
votes
0
answers
123
views
How can I make Kickstart chose which build to run, depending on the subnet of the client?
I have 2 possible subnets that systems could be built in using Kickstart, with the subnet of the client directing which build should occur. How could I go about this?
I have tried the following %...
1
vote
2
answers
4k
views
PXE Linux config does not append network parameters to start kickstart installation
I am trying to perform a PXE boot on a server with the following PXE linux configuration located in pxelinux.cfg/default:
default cli
label cli
menu label kickstart-installation
...
0
votes
1
answer
708
views
Can I Mount an ISO Image Served over FTP / HTTP During the Kickstart %post Process of a RHEL 7 / CentOS 7?
I'm attempting to customize a RHEL 7 / CentOS 7 kickstart (ks.cfg) file, which is loaded via PXE booting to mount an ISO file that is accessible via FTP / HTTP. I understand Busybox tools are ...
1
vote
1
answer
3k
views
How to reboot from a chroot environment?
I have a kickstart file that I use to install CentOS 7. I run some scripts in the %post section of the kickstart file. In the script, there is a checking for the compatibility of the machine, and if ...
-1
votes
1
answer
2k
views
How to encrypt boot partition in CentOS 7 kickstart?
I have a kickstart file for CentOS 7 Minimal. I would like to add encryption only to my /boot partition. but when I added the following line in the kickstart file, the complete installation fails. The ...
2
votes
2
answers
12k
views
Centos 7, Kickstart , Error setting up base repository during installation
I am trying to install centos 7 using kickstart on vmware 12.
I have downloaded iso and installed many virtual machines using the same iso package.
I am getting error: Error setting up base ...
-2
votes
1
answer
2k
views
linux redhat + login prompt keep getting again and again [duplicate]
we installed new server redhat version - 6.7 from kick start,
after installation complete successfully we get the login prompt
but I am unable to login locally on my redhat linux 6.7 server.
The ...
5
votes
0
answers
654
views
Send linux kernel paramters to VM guest in VMware
I have research a lot about this but I can't find anything that answers my question.
My question is how would I send/pass linux kernel parameters to a VM guest in VMware vsphere (so I don't need to ...
1
vote
0
answers
279
views
Network Kickstart RHEL 5 vs Kickstart RHEL 6, vmlinuz doesn't support nameservers?
I use PXE + kickstart in conjunction with Foreman, to install new hosts over the network. I've run into a problem while trying to install Red Hat 5. It looks like the older vmlinuz in RH5 does not ...
0
votes
2
answers
1k
views
Unable to create CentOS 7.2 Kickstart DVD
I'm quite new to the kickstart concept and I've been reading and testing this for the past few days and I'm having an issue I can't seem to find anywhere on the web right now...
At first I wanted to ...
0
votes
1
answer
468
views
kickstart device location changes (enumeration order)
I've built an unattended USB installer which installs Centos and our Application binaries. However, anaconda (?) puts the USB device after the hard drives - so servers with two drives, the USB is sdc;...
0
votes
1
answer
7k
views
Anaconda kickstart install from local repo?
Right now we use Anaconda to create kickstart files. Everything works great but during the Centos install it throws an error that a package is missing. Our solution so far has been to mount disk 2 ...
2
votes
2
answers
947
views
How to get location of anaconda-ks.cfg script from within itself?
I'm installing CentOS 7 using the ks option. Example:
ks=http://10.0.0.100:8080/anaconda-ks.cfg
From within this configuration file, how can I "dynamically" fetch the URL of its location?
In this ...
2
votes
1
answer
3k
views
CentOS: How to set hostname based on external file in kickstart script?
I install CentOS 7 using the ks=http://10.0.0.100:8080/anaconda-ks.cfg option and I serve the static configuration file by running a simple web server: python -m SimpleHTTPServer 8080.
In my anaconda-...
7
votes
1
answer
7k
views
CentOS 7.2.1511, kickstart and user creation
I've run into issue with kickstart and user creation. From long-long time ago I had in my kickstart these lines to create user:
user --name=a --gecos="A" --uid=500 --groups=wheel --password="..." --...
0
votes
0
answers
202
views
How can I manage dual boot with Foreman?
I have about 80 machines that need to boot both CentOS 7 (for most applications) and CentOS 6 (for one stubborn app). There seems to be very little documentation out there on getting Kickstart files ...
2
votes
0
answers
134
views
Can Satellite registration be done in Kickstart's `%pre` stanza?
In a presentation from 2010 RedHat Summit, I saw Satellite registration (rhnreg_ks) done in a %pre stanza, while RedHat's current docs (as well as this answer) do it in %post. Registering in %post ...
1
vote
1
answer
330
views
How to debug failed Ubuntu 15.04 PXE install on Dell R710?
I've built a PXE install server which installs Ubuntu 15.04 using a Kickstart script and it's working fine on VMWare / Virtual Box VM's. 15 minute install at most.
I tried this on Dell R710's ...
5
votes
2
answers
63k
views
CentOS 7 ISO Kickstart Installation - "Pane is dead"
EDIT: I retried this generically, and see the same problem. To reproduce, follow my steps below. I am starting to think that it might be a problem with the hardware, but I am not certain.
When ...
0
votes
0
answers
136
views
Foreman server provision complains /tmp/ks.cfg
I installed foreman 1.9.0 on a redhat 7.1 and try to provision a centos 6.6 with the default kickstart and kickstart pxe.
I tried to modify parameters, but it complains all the time on the same lines....
1
vote
1
answer
2k
views
Ubuntu netboot installation crashes
I have a dhcp server running PXE, and a client I need to install ubuntu on through PXE.
I managed to get the installer working. it goes through the installation fine with the help of a kickstart file,...
1
vote
1
answer
303
views
Kickstart not working
I'm trying to create a kickstart to automate the installation procedure but when the installation ends and I check to see the result nothing happened. I'm trying to debug it by putting read statements ...
0
votes
1
answer
931
views
Centos kickstart installation without package location
I want to install with unattended way Centos7 in a VM and at the moment I have to specify packages location in ks file and then in installation because is marked as error. Any way to install without ...
-1
votes
1
answer
3k
views
How to create CentOS7 ISO image with kickstart file?
I'm trying to create a CentOS 7 ISO image to use it later with Virtualbox. That ISO should include a ks.cfg file also.
I've followed the steps under How to create a custom ISO image in CentOS, but I ...
2
votes
2
answers
4k
views
CentOS kickstart - force kernel version
I'd like to kickstart some servers using a specific kernel version (slightly downrev) but can't figure out the correct syntax in the kickstart file. I've tried specifying this in the "%packages" ...
0
votes
1
answer
1k
views
Kickstarting RHEL7 VM stalls with "No device selected"
I've been using Ashgar Ghori's RHEL7 study guide and have hit a small snag which I have not been able to find a solution to.
Using a kickstart file that worked previously, whenever I use it for a new ...
6
votes
1
answer
4k
views
CentOS/Redhat kickstart script cdrom mount point
Trying to copy some files from my custom CentOS 7 install ISO to the new install in the %post section.
I've tried all of these:
cp /dev/cdrom/scripts/myscript.sh /etc/myscripts/myscript.sh
cp /dev/...
1
vote
0
answers
3k
views
virt-install with kickstart file using LVM fails
I'm trying to install a VM using virt-install using a kickstart file. I've tried both RHEL 7.0 and RHEL 7.1. In both cases using LVM seems to make the installation fail. After a timeout it drops me to ...
1
vote
0
answers
457
views
Blank log file if %post contains back tick or command substitution
In building a custom USB installer for Centos6.6 (not easy) I found that if the %post section of the kickstart file has backticks
Anaconda completes, but exits immediately to a blank screen (no
video ...
2
votes
2
answers
4k
views
Kickstart fails to set up multiple bonded interfaces
I’m having some trouble setting up bonded interfaces in a CentOS 6.5 kickstart script. I have 8 physical network interfaces, which want to be configured in pairs as 4 bonded network interfaces.
My ...
3
votes
1
answer
1k
views
How do I combine firewall --enabled and --nobase in a CentOS kickstart?
As part of system hardening, I'm trying to configure my firewall during a CentOS 6.6 kickstart with the following line. It does work under one circumstance, and otherwise it doesn't.
Kickstart ...
2
votes
1
answer
2k
views
Unable to join AD domain using Kerberos from kickstart
I am trying to join to the Windows domain in the %post chroot section of my kickstart script using kinit and net commands after setting up the samba, kerberos and sssd configurations in %pre.
My ...
1
vote
0
answers
83
views
Kickstart for ubuntu works on vm but not on physical machine
So I have made a ks.cfg file for Ubuntu 14.04 server edition and uploaded it to http://address/of/my/ks.cfg and modified isolinux/txt.cfg with necessary changes.
Now when I use this ISO on virtual-...
1
vote
2
answers
562
views
Changes in kickstart file do not take effect in Cobbler
I am using Cobbler to install SLES 11 SP2 and it has been running fine all the while. Recently I modified the kickstart file by changing the size of the root partition from 18GB to 36GB. To my ...
3
votes
2
answers
10k
views
CentOS 7 installer: blank screen
I am trying to figure out CentOS 7 unattended network (PXE) installations in my setup, but the installer always ends up running into a black screen without interaction options. This is being tried in ...
3
votes
1
answer
3k
views
CentOS kickstart raid 1 and LVM issues
While doing an unattended install of CentOS 7 using kickstart. I set two disks to me mirrored.
bootloader --location=mbr --driveorder=sda,sdb
zerombr
clearpart --all --initlabel
# Disk ...
0
votes
1
answer
301
views
How to install Linux daemon using Kickstart
%post --log=/root/ks-post.log --interpreter /bin/sh
exec < /dev/tty3 > /dev/tty3 2>&1
chvt 3
cat > /mnt/sysimage/etc/init.d/daemon <<EOL
#stuff goes here
EOL
chmod 755 /...
2
votes
1
answer
703
views
Skip user input when using anaconda with kickstart
When I boot up the first time it always requests user input, in the case of text mode it asks me to press B to continue the installation. I would like to provision the system with no user input. ...
0
votes
0
answers
2k
views
CentOS 6.6 kickstart failing suddenly when including the 'updates' repo
Suddenly this week my CentOS 6.6 kickstart is failing with:
A fatal error occurred when installing the <rpm.hdr object at 0x4981cd0> package. This could indicate errors when reading the ...
2
votes
4
answers
9k
views
Kickstarting Ubuntu 14.04: How do I create an "EFI boot partition" from my ks.cfg?
I am PXE booting a server that has two 4Gb drives configured in RAID-1 in order to kickstart an instance of Ubuntu Server 14.04. I am PXE booting in EFI mode, and the install runs fine until I get ...
2
votes
1
answer
5k
views
Issue with Centos 7 + kickstart raid configuration
I've had an odd issue trying to set up kickstart with Centos 7.
First of all, the relevant portion of the file itself. The following works, although it's not optimal.
zerombr
clearpart --all --...
-1
votes
1
answer
800
views
How do I automate suppling the network location of the kickstart config file when booting a Redhat variant 7 install iso
When booting a Scientific Linux 7 install iso for example, one could immediately hit tab and add some text to specify the location of the ks.cfg file they would like to use.
I would like to automate ...
3
votes
0
answers
3k
views
virt-install fully automated install
I'm looking into ways of installing/deploying a VM completely automated (no user interaction). So far I have tried QEMU and virt-install along with QEMU. The issue with qemu is that injecting ...
2
votes
1
answer
41
views
When %post section runs in an automated Linux installation
I know %post section in kickstart runs after RPM packages are installed in a Red Hat based distribution installation. Question: it runs before or after system is rebooted?
0
votes
0
answers
686
views
RHEL7 kickstart fails to install product certificate
I am installing Red Hat Enterprise Linux 7.0 Sever from a customized image with a Kickstart file. After rebooting, no product certificate has been installed, making it impossible to register the ...
0
votes
1
answer
2k
views
Configure a Bridge Device in CentOS 7 via Kickstart
I wish to configure a br0 bridge with kickstart using eth0 as its slave.
Is this possible?
I have not seen any kickstart examples that do this.
I wish to use this box as a KVM host, so I'm ...
0
votes
1
answer
1k
views
How to include cinnamon via kickstart in CentOS 7
I'm trying to install cinnamon via kickstart in CentOS 7.
In previous versions of CentOS/RHEL there was the %packages --resolvedeps options
This option is no longer available.
I have the following ...