LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-18-2020, 04:04 PM   #1
witchkinkofangmar
Member
 
Registered: May 2019
Posts: 83

Rep: Reputation: Disabled
CentOS 8 kickstart packages in post aren't getting installed


I need to install a few packages in the kickstart post section but they aren't being installed. I can install them manually after creating a machine.

vmware-tools gets install but the next section with wget and others don't get installed.

Code:
# XXX FIXME TODO Make the open-vm-tools install optional if building non-vmware targets?
%packages --excludedocs --ignoremissing
@Core --nodefaults
audit
chrony
cronie
cronie-anacron
iptables-services
net-tools
openssh-clients
openssh-server
rsyslog
sudo
yum
%end

# Install VMware tools
%post
yum -y install open-vm-tools
%end

# Install other packages - temporary
%post
yum -y install wget libselinux python3-libselinux glibc glicb.i686 libX11.so.6 curl libXext unzip bzip2 which kernel-devel kernel-headers gcc libgcc.i686 libnsl.so.1
%end
 
Old 08-18-2020, 08:28 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Isn't there an installation log?

https://access.redhat.com/solutions/20358 might help you. I can't read it since I have no RHEL contract.

EDIT: My brain misfired and thought you were talking about RHEL. This page tells you how to specifically log %post for Centos kickstarts: https://wiki.centos.org/TipsAndTricks/KickStart.

Last edited by berndbausch; 08-18-2020 at 08:30 PM.
 
  


Reply

Tags
centos8, kickstart, vmware, yum



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Centos 7.7.1908 kickstart: error during package installation when installing packages other than just base and core Shaggy1 CentOS 2 11-04-2019 06:05 AM
Help with removing Packages that aren't installed. But are really - apt-get flebber Linux - Software 5 12-28-2011 08:24 AM
CentOS/Redhat kickstart packages cdestiny Linux - Server 4 12-02-2008 04:46 AM
Sort installed packages by # of dependant packages installed brianez21 Debian 1 01-18-2006 05:06 PM
RPM is saying installed packages aren't installed ticky87 Linux - Newbie 4 07-26-2004 01:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration