mirror of
https://github.com/bin456789/reinstall.git
synced 2025-07-13 06:30:18 +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
|
#### Optional Parameters
|
||||||
|
|
||||||
- `--password PASSWORD` Set the password
|
- `--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-rsa ..."`
|
||||||
- `--ssh-key "ssh-ed25519 ..."`
|
- `--ssh-key "ssh-ed25519 ..."`
|
||||||
- `--ssh-key "ecdsa-sha2-nistp256/384/521 ..."`
|
- `--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 github:your_username`
|
||||||
- `--ssh-key gitlab:your_username`
|
- `--ssh-key gitlab:your_username`
|
||||||
- `--ssh-key /path/to/public_key`
|
- `--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)
|
- `--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)
|
- `--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).
|
- `--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
|
- `--password PASSWORD` Set password
|
||||||
- `--ssh-port PORT` Change SSH port
|
- `--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 KEY` Set up SSH login public key, supports these formats. When using public key, password is empty.
|
||||||
- `--ssh-key ssh-rsa ...`
|
- `--ssh-key "ssh-rsa ..."`
|
||||||
- `--ssh-key ssh-ed25519 ...`
|
- `--ssh-key "ssh-ed25519 ..."`
|
||||||
- `--ssh-key ecdsa-sha2-nistp256/384/521 ...`
|
- `--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 github:your_username`
|
||||||
- `--ssh-key gitlab:your_username`
|
- `--ssh-key gitlab:your_username`
|
||||||
- `--ssh-key /path/to/public_key`
|
- `--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
|
### 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` 设置密码
|
- `--password PASSWORD` 设置密码
|
||||||
- `--ssh-key KEY` 设置 SSH 公钥登录,支持以下格式。当使用公钥时,密码为空
|
- `--ssh-key KEY` 设置 SSH 登录公钥,支持以下格式。当使用公钥时,密码为空
|
||||||
- `--ssh-key "ssh-rsa ..."`
|
- `--ssh-key "ssh-rsa ..."`
|
||||||
- `--ssh-key "ssh-ed25519 ..."`
|
- `--ssh-key "ssh-ed25519 ..."`
|
||||||
- `--ssh-key "ecdsa-sha2-nistp256/384/521 ..."`
|
- `--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 github:your_username`
|
||||||
- `--ssh-key gitlab:your_username`
|
- `--ssh-key gitlab:your_username`
|
||||||
- `--ssh-key /path/to/public_key`
|
- `--ssh-key /path/to/public_key`
|
||||||
|
- `--ssh-key C:\path\to\public_key`
|
||||||
- `--ssh-port PORT` 修改 SSH 端口(安装期间观察日志用,也作用于新系统)
|
- `--ssh-port PORT` 修改 SSH 端口(安装期间观察日志用,也作用于新系统)
|
||||||
- `--web-port PORT` 修改 Web 端口(安装期间观察日志用)
|
- `--web-port PORT` 修改 Web 端口(安装期间观察日志用)
|
||||||
- `--hold 2` 安装结束后不重启,此时可以 SSH 登录修改系统内容,系统挂载在 `/os` (此功能不支持 Debian/Kali)
|
- `--hold 2` 安装结束后不重启,此时可以 SSH 登录修改系统内容,系统挂载在 `/os` (此功能不支持 Debian/Kali)
|
||||||
@ -236,14 +237,15 @@ bash reinstall.sh alpine --hold=1
|
|||||||
|
|
||||||
- `--password PASSWORD` 设置密码
|
- `--password PASSWORD` 设置密码
|
||||||
- `--ssh-port PORT` 修改 SSH 端口
|
- `--ssh-port PORT` 修改 SSH 端口
|
||||||
- `--ssh-key KEY` 设置 SSH 公钥登录,支持以下格式。当使用公钥时,密码为空
|
- `--ssh-key KEY` 设置 SSH 登录公钥,支持以下格式。当使用公钥时,密码为空
|
||||||
- `--ssh-key ssh-rsa ...`
|
- `--ssh-key "ssh-rsa ..."`
|
||||||
- `--ssh-key ssh-ed25519 ...`
|
- `--ssh-key "ssh-ed25519 ..."`
|
||||||
- `--ssh-key ecdsa-sha2-nistp256/384/521 ...`
|
- `--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 github:your_username`
|
||||||
- `--ssh-key gitlab:your_username`
|
- `--ssh-key gitlab:your_username`
|
||||||
- `--ssh-key /path/to/public_key`
|
- `--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
|
### 功能 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 "ecdsa-sha2-nistp256/384/521 ..."
|
||||||
--ssh-key github:your_username
|
--ssh-key github:your_username
|
||||||
--ssh-key gitlab:your_username
|
--ssh-key gitlab:your_username
|
||||||
--ssh-key http://url
|
--ssh-key http://path/to/public_key
|
||||||
--ssh-key https://url
|
--ssh-key https://path/to/public_key
|
||||||
--ssh-key /path/to/public_key
|
--ssh-key /path/to/public_key
|
||||||
|
--ssh-key C:\path\to\public_key
|
||||||
EOF
|
EOF
|
||||||
exit 1
|
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
|
download "$(get_aws_repo)/AWSPV/$aws_pv_ver/AWSPVDriver.zip" $drv/AWSPVDriver.zip
|
||||||
|
|
||||||
unzip -o -d $drv $drv/AWSPVDriver.zip
|
unzip -o -d $drv $drv/AWSPVDriver.zip
|
||||||
msiextract $drv/AWSPVDriverSetup.msi -C $drv
|
mkdir -p $drv/xen/
|
||||||
mkdir -p $drv/aws/
|
msiextract $drv/AWSPVDriverSetup.msi -C $drv/xen/
|
||||||
cp -rf $drv/.Drivers/* $drv/aws/
|
|
||||||
|
|
||||||
cp_drivers $drv/xen -ipath "*/$arch_xdd/*"
|
cp_drivers $drv/xen/.Drivers
|
||||||
}
|
}
|
||||||
|
|
||||||
# citrix xen
|
# citrix xen
|
||||||
@ -5531,7 +5530,7 @@ install_windows() {
|
|||||||
tar -xf $drv/$part.tar -C $drv/xen/
|
tar -xf $drv/$part.tar -C $drv/xen/
|
||||||
done
|
done
|
||||||
|
|
||||||
cp_drivers $drv/xen
|
cp_drivers $drv/xen -ipath "*/$arch_xdd/*"
|
||||||
}
|
}
|
||||||
|
|
||||||
# virtio
|
# virtio
|
||||||
|
Loading…
x
Reference in New Issue
Block a user