Questions tagged [anaconda]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

Anaconda, how to perform installation in a multiple-server and multi-arch environment, same network-mounted home (Linux Redhat)?

I like to mount the same home folders on different servers, a set of them have x86_64 arch, and a set of them have Power9 architecture. (both running Linux Redhat) I like to understand what may be the ...
0
votes
0answers
25 views

On Google Cloud, what is the most cost-effective VM configuration for Ubuntu 16.04 + Anaconda Python + Jupyter Notebook + GUI via VNC?

I will use this VM for personal learning purposes, ~4 hours per day. For now I don't want to use GCP services like AI Platform Notebooks and others. I want to install all applications directly on the ...
0
votes
1answer
227 views

Conda, Django, Gunicorn and Supervisor bad interpreter: No such file or directory

I'm following this tutorial to deploy my Django app, but modified my executable /var/www/my_django_project/bin/gunicorn_start to use my conda env instead of virtualenv. CONDA_SRC=/home/justin/...
0
votes
1answer
60 views

Anaconda openscap addon scan

I added openscap addon in kickstart. After the iso is installed, I run the scan on one vm with addon and one without addon. The scan results don't have much difference. For instance, passed 64 vs 61. ...
4
votes
1answer
12k views

Difference between CentOS-8.1.1911-x86_64-boot.iso and CentOS-8.1.1911-x86_64-dvd1.iso

http://isoredirect.centos.org/centos/8/isos/x86_64/ What's the difference between CentOS-8.1.1911-x86_64-boot.iso and CentOS-8.1.1911-x86_64-dvd1.iso? I imagine the DVD is an installer which let's ...
0
votes
1answer
1k views

virt-install on Centos 8.1 doesn't complete when using --location http://localhost/inst

Should you reached this before, please let me know. ISSUE virt-install works well when passing arguments --cdrom /path/to/iso (and creates the guest) like [root@192-168-0-104 admin]# virt-install -...
1
vote
1answer
935 views

Error populating transaction after 10 anaconda retries: failure: <RPM> from anaconda: [Errno 256] No more mirrors to try

I'm running into the following package error on CentOS 7 installation while customizing an ISO for automated installs. packaging.log:03:52:50,495 ERR packaging: Error populating transaction after ...
0
votes
1answer
754 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
0answers
32 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 ...
0
votes
0answers
33 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 ...
1
vote
3answers
3k 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
1answer
367 views

Install third-party C++ involved python library on google cloud app engine

I have a python web app deploying on GCP App engine. The App engine installs required python packages from pip, and it can install pure python source codes according to https://cloud.google.com/...
1
vote
2answers
2k 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 ...
1
vote
1answer
1k views

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 ...
2
votes
1answer
131 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
1k 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
130 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
1answer
125 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
0answers
1k 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
239 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
1k 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 ...
1
vote
1answer
501 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
573 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
928 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
2k 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 ...
1
vote
1answer
2k views

uwsgi with flask and python3 conda environment is loading python2 instead

I'm trying to run a python3 flask web application with uwsgi. If I run /usr/bin/uwsgi --ini /var/www/QCQuan/uwsgi_config.ini --logto /tmp/log then uwsgi fails and the log file shows: Python version: ...
0
votes
1answer
249 views

Install packages from internet for VPC with no outside access

Have a VPC with a private subnet. Inside the VPC, am looking to update latest Anaconda packages using Conda which involves downloading the latest updates from internet. Since my VPC has no internet ...
4
votes
2answers
9k 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 ...
3
votes
1answer
510 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 ...
1
vote
0answers
63 views

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 ...
3
votes
1answer
631 views

Have Kickstart automatically generate a root password on install

I am currently working on multiple Kickstart configs for my company to allow for easy VM deployment. I cannot find any documentation showing how to have Kickstart generate a root password. Is it ...
4
votes
1answer
2k views

How to make conda use the host proxy inside a Docker container

Here's the situation. I'm using Docker with continuumio/anaconda3 image. I have the server (Ubuntu 16.04 LTS) configured to use the corporate proxy with CNTLM package. Internet works just fine in the ...
0
votes
1answer
3k views

kickstart %include can't open file

I want to break out my kickstart user definitions into a separate file. Trying to pull that file in with %include, I get an error that breaks the install: Unable to open input kickstart file: curl#...
0
votes
1answer
536 views

How to use Anaconda Python as CGI handler

I am setting up a simple web site that has a Python CGI script. Everything is working as long as I have selinux set in permissive mode. The issue is that I am using Anaconda and the SELinux context is ...
1
vote
1answer
543 views

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-...
1
vote
1answer
3k views

Can I delete anaconda-ks.cfg and openscap_data from root folder?

I just noticed that after every fresh CentOS 7 (7.2) installation I perform, there are two files created in the root folder (/root): openscap_data folder anaconda-ks.cfg file As far as I understand ...
0
votes
1answer
264 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
1answer
6k 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
1answer
771 views

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 ...
1
vote
0answers
348 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 ...
1
vote
1answer
77 views

CentOS VM: Determine whether Anaconda has completed

I'm using VSphere to spin up a series of virtual machines with CentOS 6.5 as the OS. I'd like to be able to tell, in a bash script, once the OS installation has completed. I've tried using ping, ...
1
vote
1answer
319 views

Spacewalk Anaconda Pxe Boot Issue - Kernel Version 3.10… requires linux-firmware 20140911

I'm working with a Spacewalk deployment and have gotten around to the point where I'm looking to boot via pxe using a kickstart file. I've mounted an iso onto the disk using mount -o loop and have ...
3
votes
1answer
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
1answer
1k views

CentOS 7.0 1406 installation fails on NetworkManager time out

Installing CentOS 7 on Supermicro SYS-6027TR-HTRF. The installer stops at: Error calling StartServiceByName for org.freedesktop.NetworkManager: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: ...
2
votes
1answer
491 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. ...
1
vote
4answers
8k 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 ...
1
vote
4answers
6k views

Tested kickstart file baulks in Centos 7

Tried kickstarting CENTOS 7 and got an unexpected message. The kickstart file has worked with 5 and 6 prior. Something has changed. Has anyone run into this? Installation 1) [x] Timezone settings ...
5
votes
4answers
13k views

Anaconda kickstart and rootpw option

I've tried a few different methods of generating an encrypted password on SL 6.5, but nothing seems to work for me. I'm not finding any errors anywhere in the various /var/log/anaconda* files, but I ...
2
votes
0answers
1k views

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 ...
0
votes
1answer
1k views

Setup kickstart boot for all installation media types (cd and usb-flash)

I created own custom CentOS iso. I used mkisofs make it. This is part of my isolinux.cfg file: label vesa menu label Install ^RAIDIX system kernel vmlinuz append initrd=initrd.img xdriver=...