Skip to content

Commit

Permalink
doc:storage & bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
scarisey committed Mar 11, 2024
1 parent 91f4661 commit 67e0782
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion doc/modules/ROOT/pages/descriptor.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Default dns that will be filled by the pct command at the creation of LXC contai
=== network

You should define here the network were your LXC containers will live. The IP of an LXC container is computed from this definition.
The `bridge` field is optional, with a default value to `vmbr0`.

.example
[%collapsible]
Expand All @@ -25,7 +26,8 @@ You should define here the network were your LXC containers will live. The IP of
----
{
"cidr": "192.168.1.0/24",
"gateway": "192.168.1.1"
"gateway": "192.168.1.1",
"bridge": "vmbr0"
}
----
====
Expand Down Expand Up @@ -76,6 +78,7 @@ A container declaration have:

* some hardware chacteristics (Cores, Ram in MB, VM disk size in GB)
* no swap
* storage reference (optional, default to "local")
* volumes references
* services
* an LXC template definition:
Expand All @@ -97,6 +100,7 @@ A container declaration have:
"cores": 1,
"memory": 512,
"diskSize": 24,
"storage":"local-lvm",
"services": [
"ssh2",
"webhook"
Expand Down
2 changes: 1 addition & 1 deletion doc/modules/ROOT/pages/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ So this tool should be maintained as long as I use it, and would not have too mu

[source, bash]
----
sudo wget -O /usr/local/bin/pct-compose https://github.com/scarisey/pct-compose/releases/download/0.5.0/pct-compose
sudo wget -O /usr/local/bin/pct-compose https://github.com/scarisey/pct-compose/releases/download/0.5.2/pct-compose
sudo chmod a+x /usr/local/bin/pct-compose
----

Expand Down
2 changes: 2 additions & 0 deletions doc/modules/ROOT/pages/projections.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ List(
cidrNotation = "/24",
gateway = "192.168.1.1",
diskSize = 8,
storage = "local",
bridge = "vmbr1",
volumes = Set(
Volume(
name = "data",
Expand Down

0 comments on commit 67e0782

Please sign in to comment.