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, ...)

296 questions
1
vote
1 answer

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. In some of these RPMs, the %pre or %post…
villapx
  • 143
  • 1
  • 9
1
vote
2 answers

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 subnet or default gateway. Imagine a kickstart with…
Jarrod
  • 131
  • 3
1
vote
2 answers

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 wondering if there's an easier way to get the…
Server Fault
  • 3,714
  • 12
  • 54
  • 89
1
vote
1 answer

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 the server would not be consistent. I want to…
sorin
  • 8,016
  • 24
  • 79
  • 103
1
vote
2 answers

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 help of online links (see below) but its not working…
Baqir kazmi
  • 13
  • 1
  • 5
1
vote
0 answers

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 should not able to modify this value and user can…
chetan
  • 11
  • 1
1
vote
1 answer

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 !
1
vote
1 answer

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:BB:CC:DD:EE:FF How Can I have cobbler put the name…
red888
  • 4,183
  • 18
  • 64
  • 111
1
vote
0 answers

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 could create a CD to do this automatically). But…
red888
  • 4,183
  • 18
  • 64
  • 111
1
vote
2 answers

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-offline-cmd --zone=management…
miken32
  • 942
  • 1
  • 13
  • 35
1
vote
2 answers

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 to put the eula instruction before the shutdown…
Moses Jilugu
  • 11
  • 1
  • 3
1
vote
1 answer

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 system, using a basic configuration file from a sample…
Christoffer Reijer
  • 417
  • 1
  • 4
  • 16
1
vote
1 answer

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 HTTP server, by adding the following at the boot…
miken32
  • 942
  • 1
  • 13
  • 35
1
vote
1 answer

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-desktop, also known as the VMware Tools). [for those…
Franklin Piat
  • 806
  • 8
  • 24
1
vote
0 answers

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 Kickstart the following code: %include…
djc72uk
  • 33
  • 1
  • 6