I am trying to create a customized iso of CentOS 7 minimal install with a few packages of my own. For the first try, I simply added a wget rpm I got from the DVD iso install.
To do that I put the additionnal rpm into the Packages directory of the minimal iso and I am trying to have them installed from the kickstart script. Here's the script:
Code: Select all
auth --enableshadow --passalgo=sha512
cdrom
text
selinux --disabled
ignoredisk --only-use=sda
keyboard --vckeymap=us --xlayouts='us'
lang en_US.UTF-8
rootpw password
timezone America/New_York --isUtc
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda
autopart --type=plain
clearpart --all --initlabel
poweroff
%packages
@^minimal
@core
wget # Works great without this line. As soon as I add it, the install hangs.
%end
Code: Select all
systemd[1]: Relabelled /dev and /run in 31.762ms.
I do see an error from /tmp/program.log:
Code: Select all
Couldn't find valid filesystem superblock.
Return code: 1
Running... e2fsck -f -p -C 0 /dev/mapper/live-base
/sbin/e2fsck: Operation not permitted while trying to open /dev/mapper/live-base
Any idea what might be going wrong?
Thanks!