View Issue Details

IDProjectCategoryView StatusLast Update
0017787CentOS-8anacondapublic2020-10-08 19:12
Reporteryarivh Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version8.2.2004 
Summary0017787: Centos 8 fails to use the correct repo with local kickstart file on install
DescriptionHi ,

Created a custom iso with a ks.cfg file (added to the bug) .

Upon boot the ks.cfg file is loaded but auto install doesn't complete because of an error setting up a software source.

Upon inspection of logs on /tmp it looks like anacondas is not using the repo setting i put inside the ks.cfg file

"repo --name="AppStream" --baseurl=file:///run/install/repo/AppStream" but instead is insisting to use

"file:///run/install/repo/repodata/repmd.xml" (see attached pictures)

Thanks
  
TagsNo tags attached.

Activities

yarivh

yarivh

2020-10-08 14:48

reporter  

anaconda_repo_Data.PNG (10,226 bytes)   
anaconda_repo_Data.PNG (10,226 bytes)   
dnf_librepo_log.PNG (8,564 bytes)   
dnf_librepo_log.PNG (8,564 bytes)   
found_ks_cfg.PNG (7,235 bytes)   
found_ks_cfg.PNG (7,235 bytes)   
ks.cfg (1,317 bytes)   
#version=RHEL8
ignoredisk --only-use=sda
# System bootloader configuration
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda
autopart --type=lvm
# Partition clearing information
clearpart --all --initlabel --drives=sda
# Use text mode install
text
# Use CDROM installation media
cdrom
# Keyboard layouts
keyboard --vckeymap=us --xlayouts=''
# System language
lang en_US.UTF-8

# Network information
network  --bootproto=dhcp --device=enp0s3 --onboot=off --ipv6=auto --no-activate
network  --hostname=localhost.localdomain
repo --name="AppStream" --baseurl=file:///run/install/repo/AppStream
# Root password
rootpw --iscrypted $6$N6zFZLV1kiw9X.4g$s5SxmEBzss8RLpTZdRODDjzUzyjJpaBUEXC1AucoQh.5QXVYQ/jFmrBE37p.6M17ZHc5EAHtsRqfFqSHweOMy0
# Run the Setup Agent on first boot
firstboot --enable
# Do not configure the X Window System
skipx
# System services
services --enabled="chronyd"
# System timezone
timezone Asia/Jerusalem --isUtc

%packages
@^minimal-environment
@system-tools
kexec-tools

%end

%addon com_redhat_kdump --enable --reserve-mb='auto'

%end

%anaconda
pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty
pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty
%end
ks.cfg (1,317 bytes)   
software_error.PNG (10,297 bytes)   
software_error.PNG (10,297 bytes)   
yarivh

yarivh

2020-10-08 19:12

reporter   ~0037801

the bug can be closed as misconfiguration on my side.

hidden files were not copied from the original iso (shopt -s dotglob).

Thanks

Issue History

Date Modified Username Field Change
2020-10-08 14:48 yarivh New Issue
2020-10-08 14:48 yarivh File Added: anaconda_repo_Data.PNG
2020-10-08 14:48 yarivh File Added: dnf_librepo_log.PNG
2020-10-08 14:48 yarivh File Added: found_ks_cfg.PNG
2020-10-08 14:48 yarivh File Added: ks.cfg
2020-10-08 14:48 yarivh File Added: software_error.PNG
2020-10-08 19:12 yarivh Note Added: 0037801