mirror of
https://github.com/bin456789/reinstall.git
synced 2025-06-16 17:29:55 +00:00
windows: 修复没有正确添加 xen 驱动
This commit is contained in:
parent
cfd39be075
commit
6a93bcc185
16
README.en.md
16
README.en.md
@ -150,14 +150,15 @@ bash reinstall.sh anolis 7|8|23
|
||||
#### Optional Parameters
|
||||
|
||||
- `--password PASSWORD` Set the password
|
||||
- `--ssh-key KEY` Set up SSH public key, supports these formats. When using public key, password is empty.
|
||||
- `--ssh-key KEY` Set up SSH login public key, supports these formats. When using public key, password is empty.
|
||||
- `--ssh-key "ssh-rsa ..."`
|
||||
- `--ssh-key "ssh-ed25519 ..."`
|
||||
- `--ssh-key "ecdsa-sha2-nistp256/384/521 ..."`
|
||||
- `--ssh-key http://url`
|
||||
- `--ssh-key http://path/to/public_key`
|
||||
- `--ssh-key github:your_username`
|
||||
- `--ssh-key gitlab:your_username`
|
||||
- `--ssh-key /path/to/public_key`
|
||||
- `--ssh-key C:\path\to\public_key`
|
||||
- `--ssh-port PORT` Change the SSH port (for log observation during installation and for the new system)
|
||||
- `--web-port PORT` Change the Web port (for log observation during installation)
|
||||
- `--hold 2` Prevent reboot after installation completes, allowing SSH login to modify system content; the system is mounted at `/os` (this feature is not supported on Debian/Kali).
|
||||
@ -236,14 +237,15 @@ bash reinstall.sh alpine --hold=1
|
||||
|
||||
- `--password PASSWORD` Set password
|
||||
- `--ssh-port PORT` Change SSH port
|
||||
- `--ssh-key KEY` Set up SSH public key, supports these formats. When using public key, password is empty.
|
||||
- `--ssh-key ssh-rsa ...`
|
||||
- `--ssh-key ssh-ed25519 ...`
|
||||
- `--ssh-key ecdsa-sha2-nistp256/384/521 ...`
|
||||
- `--ssh-key http://url`
|
||||
- `--ssh-key KEY` Set up SSH login public key, supports these formats. When using public key, password is empty.
|
||||
- `--ssh-key "ssh-rsa ..."`
|
||||
- `--ssh-key "ssh-ed25519 ..."`
|
||||
- `--ssh-key "ecdsa-sha2-nistp256/384/521 ..."`
|
||||
- `--ssh-key http://path/to/public_key`
|
||||
- `--ssh-key github:your_username`
|
||||
- `--ssh-key gitlab:your_username`
|
||||
- `--ssh-key /path/to/public_key`
|
||||
- `--ssh-key C:\path\to\public_key`
|
||||
|
||||
### Feature 4: Reboot to <img width="16" height="16" src="https://netboot.xyz/img/favicon.ico" /> netboot.xyz
|
||||
|
||||
|
16
README.md
16
README.md
@ -150,14 +150,15 @@ bash reinstall.sh anolis 7|8|23
|
||||
#### 可选参数
|
||||
|
||||
- `--password PASSWORD` 设置密码
|
||||
- `--ssh-key KEY` 设置 SSH 公钥登录,支持以下格式。当使用公钥时,密码为空
|
||||
- `--ssh-key KEY` 设置 SSH 登录公钥,支持以下格式。当使用公钥时,密码为空
|
||||
- `--ssh-key "ssh-rsa ..."`
|
||||
- `--ssh-key "ssh-ed25519 ..."`
|
||||
- `--ssh-key "ecdsa-sha2-nistp256/384/521 ..."`
|
||||
- `--ssh-key http://url`
|
||||
- `--ssh-key http://path/to/public_key`
|
||||
- `--ssh-key github:your_username`
|
||||
- `--ssh-key gitlab:your_username`
|
||||
- `--ssh-key /path/to/public_key`
|
||||
- `--ssh-key C:\path\to\public_key`
|
||||
- `--ssh-port PORT` 修改 SSH 端口(安装期间观察日志用,也作用于新系统)
|
||||
- `--web-port PORT` 修改 Web 端口(安装期间观察日志用)
|
||||
- `--hold 2` 安装结束后不重启,此时可以 SSH 登录修改系统内容,系统挂载在 `/os` (此功能不支持 Debian/Kali)
|
||||
@ -236,14 +237,15 @@ bash reinstall.sh alpine --hold=1
|
||||
|
||||
- `--password PASSWORD` 设置密码
|
||||
- `--ssh-port PORT` 修改 SSH 端口
|
||||
- `--ssh-key KEY` 设置 SSH 公钥登录,支持以下格式。当使用公钥时,密码为空
|
||||
- `--ssh-key ssh-rsa ...`
|
||||
- `--ssh-key ssh-ed25519 ...`
|
||||
- `--ssh-key ecdsa-sha2-nistp256/384/521 ...`
|
||||
- `--ssh-key http://url`
|
||||
- `--ssh-key KEY` 设置 SSH 登录公钥,支持以下格式。当使用公钥时,密码为空
|
||||
- `--ssh-key "ssh-rsa ..."`
|
||||
- `--ssh-key "ssh-ed25519 ..."`
|
||||
- `--ssh-key "ecdsa-sha2-nistp256/384/521 ..."`
|
||||
- `--ssh-key http://path/to/public_key`
|
||||
- `--ssh-key github:your_username`
|
||||
- `--ssh-key gitlab:your_username`
|
||||
- `--ssh-key /path/to/public_key`
|
||||
- `--ssh-key C:\path\to\public_key`
|
||||
|
||||
### 功能 4: 重启到 <img width="16" height="16" src="https://netboot.xyz/img/favicon.ico" /> netboot.xyz
|
||||
|
||||
|
@ -3721,9 +3721,10 @@ Available options:
|
||||
--ssh-key "ecdsa-sha2-nistp256/384/521 ..."
|
||||
--ssh-key github:your_username
|
||||
--ssh-key gitlab:your_username
|
||||
--ssh-key http://url
|
||||
--ssh-key https://url
|
||||
--ssh-key http://path/to/public_key
|
||||
--ssh-key https://path/to/public_key
|
||||
--ssh-key /path/to/public_key
|
||||
--ssh-key C:\path\to\public_key
|
||||
EOF
|
||||
exit 1
|
||||
}
|
||||
|
9
trans.sh
9
trans.sh
@ -5496,11 +5496,10 @@ install_windows() {
|
||||
download "$(get_aws_repo)/AWSPV/$aws_pv_ver/AWSPVDriver.zip" $drv/AWSPVDriver.zip
|
||||
|
||||
unzip -o -d $drv $drv/AWSPVDriver.zip
|
||||
msiextract $drv/AWSPVDriverSetup.msi -C $drv
|
||||
mkdir -p $drv/aws/
|
||||
cp -rf $drv/.Drivers/* $drv/aws/
|
||||
mkdir -p $drv/xen/
|
||||
msiextract $drv/AWSPVDriverSetup.msi -C $drv/xen/
|
||||
|
||||
cp_drivers $drv/xen -ipath "*/$arch_xdd/*"
|
||||
cp_drivers $drv/xen/.Drivers
|
||||
}
|
||||
|
||||
# citrix xen
|
||||
@ -5531,7 +5530,7 @@ install_windows() {
|
||||
tar -xf $drv/$part.tar -C $drv/xen/
|
||||
done
|
||||
|
||||
cp_drivers $drv/xen
|
||||
cp_drivers $drv/xen -ipath "*/$arch_xdd/*"
|
||||
}
|
||||
|
||||
# virtio
|
||||
|
Loading…
x
Reference in New Issue
Block a user