提交 095192cf 编写于 作者: Y yafen

修改默认密码和镜像名称

上级 71305c02
......@@ -62,7 +62,7 @@ The meaning of each parameter:
The image name to be built.
For example, `openEuler-20.09.img`. The default is `openEuler-aarch64-raspi.img`, or it is automatically generated based on parameter: `-r, --repo REPO_INFO`.
For example, `openEuler-20.09-RaspberryPi.aarch64.img`. The default is `openEuler-RaspberryPi.aarch64.img`, or it is automatically generated based on parameter: `-r, --repo REPO_INFO`.
4. -h, --help
......
......@@ -61,7 +61,7 @@ AArch64
构建的镜像名称。
例如,`openEuler-20.09.img`。默认为`openEuler-aarch64-raspi.img`,或者根据 `-r, --repo REPO_INFO` 参数自动生成。
例如,`openEuler-20.09-RaspberryPi.aarch64.img`。默认为`openEuler-RaspberryPi.aarch64.img`,或者根据 `-r, --repo REPO_INFO` 参数自动生成。
4. -h, --help
......
......@@ -106,7 +106,7 @@ prepare(){
else
img_name=${OS_NAME}
fi
img_name=${img_name}-aarch64-raspi.img
img_name=${img_name}-RaspberryPi.aarch64.img
else
if [ "x${img_name:0-4}" != "x.img" ]; then
img_name=${img_name}.img
......
......@@ -3,7 +3,7 @@ systemctl enable sshd
systemctl enable ntpd
systemctl enable hciuart
echo openEuler > /etc/hostname
echo "openeuler" | passwd --stdin root
echo "openEuler12#$" | passwd --stdin root
if [ -f /usr/share/zoneinfo/Asia/Shanghai ]; then
if [ -f /etc/localtime ]; then
rm -f /etc/localtime
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册