Mise à jour de 'How to create a new LXC'

Mathieu Broillet 2023-06-23 07:27:48 +00:00
parent 90bc770a6e
commit a3b4d2a212

@ -291,7 +291,7 @@ If nothing is specified, the script will use the VM/LXC folder (`<repo>/lxc/<id>
command: <command to run>
```
*Run multiples commands inside a docker container (TODO)*
*Run multiples commands inside a docker container*
```yaml
- type: docker
container: <name of docker container>
@ -316,14 +316,14 @@ If nothing is specified, the script will use the VM/LXC folder (`<repo>/lxc/<id>
<details>
<summary>Git</summary>
*Clone a git repository (TODO)*
*Clone a git repository*
```yaml
- type: git_clone
url: <url of the git repository>
destination: <path to the folder where the repo will be cloned>
```
*Pull a git repository (TODO)*
*Pull a git repository*
```yaml
- type: git_pull
path: <path to the git repository>
@ -355,13 +355,13 @@ If nothing is specified, the script will use the VM/LXC folder (`<repo>/lxc/<id>
<details>
<summary>Packages</summary>
*Install a package (TOCHECK)*
*Install a package *
```yaml
- type: install_package
package: <name of the package>
```
*Install multiple packages (TOCHECK)*
*Install multiple packages*
```yaml
- type: install_package
packages:
@ -369,13 +369,13 @@ If nothing is specified, the script will use the VM/LXC folder (`<repo>/lxc/<id>
- <name of the package 2>
```
*Remove a package (TOCHECK)*
*Remove a package*
```yaml
- type: remove_package
package: <name of the package>
```
*Remove multiple packages (TOCHECK)*
*Remove multiple packages*
```yaml
- type: remove_package
packages:
@ -483,7 +483,7 @@ If nothing is specified, the script will use the VM/LXC folder (`<repo>/lxc/<id>
</details>
<details>
<summary>Wait (TODO)</summary>
<summary>Wait</summary>
*Wait X seconds*
```yaml