Questions tagged [anaconda]
System installation program used by Fedora, Red Hat Enterprise Linux, and others. Closely related to kickstart.
69
questions
0
votes
0
answers
223
views
How to resolve glibc errors in conda enviroment installation?
I am a non root user in a Linux based cluster. It doesn't have docker nor I have privileges to install it. The base environment have GLIBC version 2.17. I am trying to install packages (like faiss-gpu,...
0
votes
0
answers
45
views
Installing RHEL 8 so that it is compliant with customized stigs
Need guidance regarding creating my own openscap profile based off of an existing profile that I can use too install Rhel in a standardized way that will already be compliant. I see that there is a ...
0
votes
0
answers
113
views
How to run Anaconda environment on IIS with WFASTCGI?
I have developed a web application in Python using the bottle framework.
I have a Windows Server, and I used IIS as Web Server for my application, using WFASTCGI.
My application requires packages to ...
-1
votes
1
answer
2k
views
ClamAV detected Win.Virus.Expiro-10004389-0 malware on Ubuntu instance in Conda package
Today clamAV scanned my AWS instances and detect infected files on each. It looks like false positive due to several reasons:
All these files are created in 2021 (why were they detected only
now?)
...
3
votes
1
answer
125
views
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 ...
1
vote
0
answers
471
views
Anaconda: Failed to find a suitable stage1 device
The installation is oversimplified here. In reality I want to format and supply all the disks (for swap, etc.) to anaconda with several --disk arguments to virt-install like it's suggested here https:/...
0
votes
0
answers
2k
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 ...
0
votes
0
answers
165
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'...
1
vote
0
answers
38
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 ...
0
votes
1
answer
1k
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
1
answer
196
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. ...
9
votes
1
answer
24k
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
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 -...
1
vote
1
answer
3k
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 ...
2
votes
1
answer
5k
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
0
answers
189
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
0
answers
48
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 ...
2
votes
3
answers
8k
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
1
answer
635
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/...
3
votes
2
answers
5k
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
1
answer
3k
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
1
answer
382
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
1
answer
5k
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
1
answer
327
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
1
answer
306
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
0
answers
6k
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
1
answer
605
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
2
answers
3k
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
1
answer
2k
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
1
answer
1k
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
1
answer
3k
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-...
3
votes
3
answers
3k
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
1
answer
3k
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
1
answer
2k
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
2
answers
11k
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
1
answer
1k
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
0
answers
76
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
1
answer
1k
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
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 ...
0
votes
1
answer
4k
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
1
answer
725
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
1
answer
657
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
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 ...
0
votes
1
answer
517
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
1
answer
7k
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
1
answer
949
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
0
answers
471
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
1
answer
88
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
1
answer
366
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
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 ...