Questions tagged [anaconda]

System installation program used by Fedora, Red Hat Enterprise Linux, and others. Closely related to kickstart.

70 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…
Aaron Copley
  • 12,525
  • 5
  • 47
  • 68
2
votes
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…
miken32
  • 942
  • 1
  • 13
  • 35
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 |…
mr.zog
  • 923
  • 3
  • 20
  • 39
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…
mr.zog
  • 923
  • 3
  • 20
  • 39
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…
Steve Amerige
  • 433
  • 2
  • 5
  • 12
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.
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…
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…
Brad
  • 250
  • 1
  • 11
2
votes
1 answer

Automatically generated /etc/hosts is wrong

I've created a kickstart script to install CentOS 5.5 (32bit) in a fully automated way. The DNS/DHCP setup correctly gives the system the right hostname in both the forward and reverse lookups. dig node4.mydomain.com. +short 10.10.10.64 dig -x…
Niels Basjes
  • 2,196
  • 3
  • 19
  • 26
2
votes
0 answers

completely media-less kexec install of a rhel-based distro?

I'd like to be able to install a small redhat server from kexec without media being present on the system during the installation (no hdd, removable media, or network). This seems feasible because I can generate and kexec boot an initramfs of the…
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…
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: -…
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…
mr.zog
  • 923
  • 3
  • 20
  • 39
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…
mr.zog
  • 923
  • 3
  • 20
  • 39
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