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
0 answers
22 views

PYTHONPATH with limited access directories and shared Anaconda installation

We have a shared Anaconda install on a Windows 2016 server where users have varied access rights. We set PYTHONPATH to point a network drive (P:/code) to enable the import of custom modules. When a ...
user avatar
0 votes
0 answers
320 views

Centos Stream 9 boot iso stuck during kickstart

I am trying to install a Centos Stream 9 boot iso on my mac M1 via VMware Fusion. I already solved a lot of issues that were preventing me to start installation. Now I get to the installation (I am ...
user avatar
0 votes
0 answers
41 views

Python interpreter history in anaconda doesn't work

I'm using Python under Anconda in Ubuntu running on WSL2. When I use arrow keys to go through the command history control characters (I assume) are printed instead of showing the previous commands: ...
user avatar
0 votes
0 answers
92 views

Ignore HTTP_PROXY env variable in conda install

I'm trying to configure my local conda client to use a nexus channel, and use it only. The workspace I'm using has the HTTP_Proxy and HTTPS_PROXY environment variables set (And I need them to stay set....
user avatar
0 votes
0 answers
69 views

How to disable updates for spyder shortcut in anaconda?

anyone completed anaconda installation for deployment? The spyder shortcut has disable update option as checkbox, which data is not capturing in picture taker/installrite. Can anyone please suggest ...
user avatar
0 votes
0 answers
37 views

How to force creating an extended partition in before the last primary partition in kickstart?

I am searching for a way to write a kickstart partition section where I can control precisely which partitions are primary, and which partitions are secondary partitions in a extended partition. I don'...
user avatar
  • 111
1 vote
0 answers
27 views

Why a non-root installation can work across the whole cluster?

I recently installed anaconda (which includes a new python3) locally in my account folder on a cluster with a dozen of nodes (each node with several cores). I use it to install some package P that is ...
user avatar
0 votes
1 answer
473 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/...
user avatar
0 votes
1 answer
92 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. ...
user avatar
8 votes
1 answer
20k 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 ...
user avatar
0 votes
1 answer
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 -...
user avatar
1 vote
1 answer
2k 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 ...
user avatar
  • 11
1 vote
1 answer
2k 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=...
user avatar
  • 882
0 votes
0 answers
58 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 ...
user avatar
  • 1
0 votes
0 answers
40 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 ...
user avatar
1 vote
3 answers
5k 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 %...
user avatar
0 votes
1 answer
483 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/...
user avatar
  • 1
3 votes
2 answers
3k 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 ...
user avatar
1 vote
1 answer
2k 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 ...
user avatar
2 votes
1 answer
206 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 | ...
user avatar
  • 902
2 votes
1 answer
2k 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 ...
user avatar
  • 902
1 vote
1 answer
175 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/...
user avatar
  • 902
1 vote
1 answer
188 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 ...
user avatar
  • 902
0 votes
0 answers
2k 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 ...
user avatar
1 vote
1 answer
340 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. ...
user avatar
  • 141
1 vote
2 answers
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 ...
user avatar
  • 131
1 vote
1 answer
728 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 ...
user avatar
  • 7,508
0 votes
1 answer
858 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 ...
user avatar
  • 7,508
0 votes
1 answer
2k 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-...
user avatar
  • 7,508
3 votes
3 answers
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 ...
user avatar
  • 7,508
1 vote
1 answer
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: ...
user avatar
0 votes
1 answer
576 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 ...
user avatar
  • 135
4 votes
2 answers
10k 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 ...
user avatar
  • 514
3 votes
1 answer
616 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 ...
user avatar
1 vote
0 answers
68 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 ...
user avatar
  • 11
3 votes
1 answer
786 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 ...
user avatar
4 votes
1 answer
3k 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 ...
user avatar
  • 41
0 votes
1 answer
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#...
user avatar
  • 163
0 votes
1 answer
591 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 ...
user avatar
  • 21
1 vote
1 answer
564 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-...
user avatar
1 vote
1 answer
4k 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 ...
user avatar
  • 237
0 votes
1 answer
294 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;...
user avatar
  • 235
0 votes
1 answer
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 ...
user avatar
2 votes
1 answer
835 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 ...
user avatar
1 vote
0 answers
374 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 ...
user avatar
  • 235
1 vote
1 answer
79 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, ...
user avatar
1 vote
1 answer
331 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 ...
user avatar
  • 161
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 ...
user avatar
  • 221
0 votes
1 answer
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: ...
user avatar
  • 103
2 votes
1 answer
519 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. ...
user avatar