View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017787 | CentOS-8 | anaconda | public | 2020-10-08 14:48 | 2020-10-08 19:12 |
Reporter | yarivh | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 8.2.2004 | ||||
Summary | 0017787: Centos 8 fails to use the correct repo with local kickstart file on install | ||||
Description | Hi , 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 | ||||
Tags | No tags attached. | ||||
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 |
|
the bug can be closed as misconfiguration on my side. hidden files were not copied from the original iso (shopt -s dotglob). Thanks |
|
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 |