Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
spiritLHLS committed May 19, 2024
1 parent 6fa080d commit 3cbb5af
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/en/guide/pve/pve_kvm.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,13 +233,13 @@ For example, if the current host address is ```1.1.1.32``` and then ```1.1.1.33`
**Download Script**

```shell
curl -L https://raw.githubusercontent.com/oneclickvirt/pve/main/scripts/buildvm_extraip.sh -o buildvm_extraip.sh && chmod +x buildvm_extraip.sh
curl -L https://raw.githubusercontent.com/oneclickvirt/pve/main/scripts/buildvm_extra_ip.sh -o buildvm_extra_ip.sh && chmod +x buildvm_extra_ip.sh
```

**Meaning of each parameter**

```shell
./buildvm_extraip.sh VMID Username Password Number_of_CPU_Cores Memory_Size_in_MB Disk_Size_in_GB OS Storage_Disk Attach_IPV6(Default is N)
./buildvm_extra_ip.sh VMID Username Password Number_of_CPU_Cores Memory_Size_in_MB Disk_Size_in_GB OS Storage_Disk Attach_IPV6(Default is N)
```

:::tip
Expand All @@ -249,7 +249,7 @@ Note that the Password here should be a mix of English and numbers only, and sta
#### Test Example

```shell
./buildvm_extraip.sh 152 test1 oneclick123 1 1024 10 debian12 local N
./buildvm_extra_ip.sh 152 test1 oneclick123 1 1024 10 debian12 local N
```

The above command is used to create a virtual machine with a dedicated IPv4 address.
Expand Down
8 changes: 4 additions & 4 deletions docs/guide/pve/pve_kvm.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,19 +265,19 @@ PVE修改VM配置前都得停机先,再修改配置,修改完再启动,免
国际

```shell
curl -L https://raw.githubusercontent.com/oneclickvirt/pve/main/scripts/buildvm_extraip.sh -o buildvm_extraip.sh && chmod +x buildvm_extraip.sh
curl -L https://raw.githubusercontent.com/oneclickvirt/pve/main/scripts/buildvm_extra_ip.sh -o buildvm_extra_ip.sh && chmod +x buildvm_extra_ip.sh
```

国内

```shell
curl -L https://cdn.spiritlhl.net/https://raw.githubusercontent.com/oneclickvirt/pve/main/scripts/buildvm_extraip.sh -o buildvm_extraip.sh && chmod +x buildvm_extraip.sh
curl -L https://cdn.spiritlhl.net/https://raw.githubusercontent.com/oneclickvirt/pve/main/scripts/buildvm_extra_ip.sh -o buildvm_extra_ip.sh && chmod +x buildvm_extra_ip.sh
```

**各参数含义**

```shell
./buildvm_extraip.sh VMID 用户名 密码 CPU核数 内存大小以MB计算 硬盘大小以GB计算 系统 存储盘 独立IPV6(默认为N)
./buildvm_extra_ip.sh VMID 用户名 密码 CPU核数 内存大小以MB计算 硬盘大小以GB计算 系统 存储盘 独立IPV6(默认为N)
```

:::tip
Expand All @@ -287,7 +287,7 @@ curl -L https://cdn.spiritlhl.net/https://raw.githubusercontent.com/oneclickvirt
#### 测试示例

```shell
./buildvm_extraip.sh 152 test1 oneclick123 1 1024 10 debian12 local N
./buildvm_extra_ip.sh 152 test1 oneclick123 1 1024 10 debian12 local N
```

上述命令意义为开设一个带独立IPV4地址的虚拟机
Expand Down

0 comments on commit 3cbb5af

Please sign in to comment.