Bug 4076 - [Anolis 8.8] qcow2 镜像串口未配置tty/不允许ssh启动密码登录/不允许root登录
Summary: [Anolis 8.8] qcow2 镜像串口未配置tty/不允许ssh启动密码登录/不允许root登录
Status: NEW
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: Images&Installations (show other bugs) Images&Installations
Version: 8.8
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Jacob
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-15 18:12 UTC by wanqian
Modified: 2023-02-15 18:13 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wanqian alibaba_cloud_group 2023-02-15 18:12:27 UTC
Description of problem:

vm 启动方式:
xml文件和qcow2镜像文件
virsh create ***.xml

镜像连接(举例):
    https://mirrors.openanolis.cn/anolis/8.8/isos/GA/x86_64/AnolisOS-8.8-x86_64-ANCK.qcow2  



这里有3个问题:
1,没有串口控制台,virsh console 没有办法登录
2,ssh没有启用密码登录,只允许key,但又没提供key
3,不允许root登录

    通过virsh create启动VM后,如果root不让登录,也没有其他用户让登录,同时由于镜像未配置串口参数,virsh console 又不能访问. 初始化vm的相关配置很困难.