System installation program used by Fedora, Red Hat Enterprise Linux, and others. Closely related to kickstart.
Questions tagged [anaconda]
68 questions
3
votes
2 answers
When are root's SSH keys generated?
I have hosts with and without keys in /root/.ssh. I've noticed before some on screen feedback for SSH key generation on start up (first time.) But I am not sure what the catalyst is. I have looked in /root/anaconda-ks.cfg and don't see anything…
![](../../users/profiles/50647.webp)
Aaron Copley
- 12,345
- 5
- 46
- 67
2
votes
1 answer
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 | awk '{print $3}')
HOMEVOL=$(lvdisplay |grep home |…
![](../../users/profiles/39214.webp)
mr.zog
- 902
- 3
- 16
- 36
2
votes
1 answer
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 up as /dev/sdb. The installer sees the USB drive…
![](../../users/profiles/39214.webp)
mr.zog
- 902
- 3
- 16
- 36
2
votes
1 answer
Can route-eth0 be created via CentOS 7 Anaconda installer?
I'm using the CentOS 7 Anaconda installer.
I want the file /etc/sysconfig/network-scripts/route-eth0 to be created, if possible, by this installer. The file route-eth0 should have the contents after installation such as:
11.22.33.44 dev…
![](../../users/profiles/232383.webp)
Steve Amerige
- 403
- 2
- 5
- 11
2
votes
1 answer
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. Here is a screenshot of what I am seeing.
![](../../users/profiles/223612.webp)
Cole Shores
- 123
- 2
2
votes
4 answers
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 this error on partitioning:
The partition table…
![](../../users/profiles/142348.webp)
Daniel
- 145
- 2
- 6
2
votes
0 answers
kickstart unattended install of OEL 6.5 always asks to check media
My configuration is as follows:
Hyper-V 2012 R2 Host
Oracle Enterprise Linux 6.5 VM Guest being installed from an iso attached to the VM.
I created a kickstart file that I have on a NFS share and when I boot the virtual DVD I press tab and append…
![](../../users/profiles/215620.webp)
Brad
- 250
- 1
- 11
1
vote
1 answer
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=myname --homedir=/var/ftp…
![](../../users/profiles/114341.webp)
miken32
- 930
- 1
- 11
- 32
1
vote
3 answers
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 %pre section of my Kickstart script, then it does…
![](../../users/profiles/346774.webp)
HudsonHawk
- 103
- 2
- 14
1
vote
1 answer
Unsupported parameters for (expect) module error Ansible?
I am writing a playbook for automating anaconda installation . I am using Ansible expect module to answer the installation prompts.
Here is my code.
---
- hosts: all
become: yes
become_method: sudo
gather_facts: true
tasks:
-…
![](../../users/profiles/524634.webp)
Pankaj Kumar
- 11
- 3
1
vote
1 answer
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/liveinst -C --kickstart=/root/mykickstart.ks
but I'm…
![](../../users/profiles/39214.webp)
mr.zog
- 902
- 3
- 16
- 36
1
vote
1 answer
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 this is. We ought to be shipping our customer a…
![](../../users/profiles/39214.webp)
mr.zog
- 902
- 3
- 16
- 36
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…
![](../../users/profiles/413591.webp)
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…
![](../../users/profiles/470414.webp)
Jarrod
- 131
- 3
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…
![](../../users/profiles/10361.webp)
sorin
- 7,668
- 24
- 75
- 100