Bug 2724 - [anolis8.6] [x86_64][4.18]ks安装时识别不到cdrom安装逻辑
Summary: [anolis8.6] [x86_64][4.18]ks安装时识别不到cdrom安装逻辑
Status: NEW
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: Images&Installations (show other bugs) Images&Installations
Version: 8.6
Hardware: x86_64 Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Jacob
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-03 15:01 UTC by duxing
Modified: 2022-11-03 15:10 UTC (History)
0 users

See Also:


Attachments
installation snap (693.94 KB, image/jpeg)
2022-11-03 15:01 UTC, duxing
Details

Note You need to log in before you can comment on or make changes to this bug.
Description duxing 2022-11-03 15:01:55 UTC
Created attachment 450 [details]
installation snap

Description of problem:

ks安装时识别不到cdrom安装逻辑
Version-Release number of selected component (if applicable):
4.18


How reproducible:


Steps to Reproduce:
1. iso解包
2. 配置ks 和 引导, ks文件如下
3. 安装测试

ks.cfg
----
#version=RHEL8
ignoredisk --only-use=nvme0n1
autopart --type=lvm

# Partition clearing information
clearpart --all --initlabel

# Use graphical install
graphical

# Use CDROM installation media
cdrom

# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'

# System language
lang en_US.UTF-8

# Network information
network  --bootproto=dhcp --device=eth0 --noipv6 --hostname=localhost.aliyun

# SELinux configuration
selinux --disabled

# Run the Setup Agent on first boot
firstboot --enable

# Do not configure the X Window System
skipx

# System timezone
timezone Asia/Shanghai --isUtc --nontp

reboot

%packages
@^minimal-environment
bpftool-4.18.0
kernel-4.18.0
kernel-devel-4.18.0
kernel-headers-4.18.0
kernel-tools-4.18.0
kexec-tools
perf-4.18.0
python3-perf-4.18.0
-bpftool-4.19.91
-kernel-4.19.91
-kernel-devel-4.19.91
-kernel-headers-4.19.91
-kernel-tools-4.19.91
-perf-4.19.91
-python3-perf-4.19.91

%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

#%pre
#%end
# 安装后脚本

%post --nochroot
%end

%post --log=/tmp/ks-post.log
%end

----



Actual results:

安装过程卡住, 显示找不到源
“Error Setting up base repository”

Expected results:
Installation Source 应该是 cdrom
 

Additional info:
Comment 1 duxing 2022-11-03 15:10:34 UTC
引导部分

label linux
  menu label ^Install Anolis OS 8 in compatible mode (4.18RHCK) - aliyun
  kernel vmlinuz-4.18.0-372.9.1.an8.x86_64
#  menu default
  append initrd=initrd-4.18.0-372.9.1.an8.x86_64.img inst.ks=hd:LABEL=anolis-8-x86_64-dvd:/isolinux/ks.cfg net.ifnames=0 biosdevname=0 inst.stage2=hd:LABEL=anolis-8-x86_64-dvd quiet