This commit is contained in:
spiritlhl
2024-02-18 14:45:39 +00:00
parent 56a7bd5717
commit c31ea61b33
2 changed files with 63 additions and 63 deletions

View File

@@ -4,6 +4,38 @@ outline: deep
# LXC Virtualization
## Images available for creating LXC Containers
**x86_64:**
Self-patching images: https://github.com/oneclickvirt/pve_lxc_images/blob/main/fixed_images.txt
:::tip
Some of these images are flawed and not guaranteed to be available for all PVEs, with names like ```ubuntu16.04```, ```debian6```, ```centos7```, ```opensuse42.2```, ```opensuse42.3``` Don't use them unless necessary.
:::
and
Run ```pveam available --section system``` to see the names and version numbers of the officially available systems.
Priority: Self-patching images (not supported by Proxmox-VE 5 and below) > Official default images (both supported)
image
The version has been automatically recognized by a script to use the corresponding image.
**arm:**
[https://github.com/oneclickvirt/lxc_arm_images/blob/main/fixed_images.txt](https://github.com/oneclickvirt/lxc_arm_images/blob/main/fixed_images.txt)
Supported systems can be viewed in the file above, which lists debian and ubuntu systems do not use the aliases in it, just use the numeric designators.
:::tip
All system parameters are lowercase system names spliced with version numbers, e.g. debian11, ubuntu22, etc.
(Self-patched images support some out-of-the-way systems, such as centos6, centos7, debian8, debian9, etc.)
:::
**The default CT username for all systems is root**
## Creating Individual LXC Containers for Virtualization
:::warning
@@ -27,38 +59,6 @@ Before creating containers, use the 'screen' command to run them in the backgrou
### Usage Instructions
**System Support:**
x86_64:
Self-patching images: https://github.com/oneclickvirt/pve_lxc_images/blob/main/fixed_images.txt
:::tip
Some of these images are flawed and not guaranteed to be available for all PVEs, with names like ```ubuntu16.04```, ```debian6```, ```centos7```, ```opensuse42.2```, ```opensuse42.3``` Don't use them unless necessary.
:::
and
Run ```pveam available --section system``` to see the names and version numbers of the officially available systems.
Priority: Self-patching images (not supported by Proxmox-VE 5 and below) > Official default images (both supported)
image
The version has been automatically recognized by a script to use the corresponding image.
arm:
[https://github.com/oneclickvirt/lxc_arm_images/blob/main/fixed_images.txt](https://github.com/oneclickvirt/lxc_arm_images/blob/main/fixed_images.txt)
Supported systems can be viewed in the file above, which lists debian and ubuntu systems do not use the aliases in it, just use the numeric designators.
:::tip
All system parameters are lowercase system names spliced with version numbers, e.g. debian11, ubuntu22, etc.
(Self-patched images support some out-of-the-way systems, such as centos6, centos7, debian8, debian9, etc.)
:::
**The default CT username for all systems is root**
**Download Script**
```shell

View File

@@ -4,6 +4,37 @@ outline: deep
# LXC虚拟化
## 开设LXC容器可使用的镜像
**x86_64**
自修补镜像: https://github.com/oneclickvirt/pve_lxc_images/blob/main/fixed_images.txt
:::tip
其中的部分镜像有缺陷不保证所有PVE可用名字为 ```ubuntu16.04```、```debian6```、```centos7```、```opensuse42.2```、```opensuse42.3``` 非必要不要使用。
:::
执行```pveam available --section system```查看官方可用的系统名字和版本号
优先级:自修补镜像(Proxmox-VE 5及其以下版本不支持) > 官方默认镜像(都支持)
已通过脚本自动识别版本使用对应镜像
**arm**
[https://github.com/oneclickvirt/lxc_arm_images/blob/main/fixed_images.txt](https://github.com/oneclickvirt/lxc_arm_images/blob/main/fixed_images.txt)
可在上面的文件中查看支持的系统其中列出的debian和ubuntu系统不要使用里面的别名使用数字代号即可。
:::tip
系统参数一律是小写的系统名字拼接版本号debian11ubuntu22等。
(自修补镜像支持一些偏门系统,如 centos6、centos7、debian8、debian9 等)
:::
**所有系统的CT默认用户名是root**
## 单独开设LXC虚拟化的CT
:::warning
@@ -27,37 +58,6 @@ outline: deep
### 使用方法
**系统支持:**
x86_64的
自修补镜像: https://github.com/oneclickvirt/pve_lxc_images/blob/main/fixed_images.txt
:::tip
其中的部分镜像有缺陷不保证所有PVE可用名字为 ```ubuntu16.04```、```debian6```、```centos7```、```opensuse42.2```、```opensuse42.3``` 非必要不要使用。
:::
执行```pveam available --section system```查看官方可用的系统名字和版本号
优先级:自修补镜像(Proxmox-VE 5及其以下版本不支持) > 官方默认镜像(都支持)
已通过脚本自动识别版本使用对应镜像
arm的
[https://github.com/oneclickvirt/lxc_arm_images/blob/main/fixed_images.txt](https://github.com/oneclickvirt/lxc_arm_images/blob/main/fixed_images.txt)
可在上面的文件中查看支持的系统其中列出的debian和ubuntu系统不要使用里面的别名使用数字代号即可。
:::tip
系统参数一律是小写的系统名字拼接版本号debian11ubuntu22等。
(自修补镜像支持一些偏门系统,如 centos6、centos7、debian8、debian9 等)
:::
**所有系统的CT默认用户名是root**
**下载脚本**
国际