mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-07 14:03:01 +07:00
Add test container
This commit is contained in:
parent
1a16900cbc
commit
47ed8f481d
@ -1,2 +1,17 @@
|
|||||||
provider "lxd" {
|
provider "lxd" {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "lxd_container" "test1" {
|
||||||
|
name = "test1"
|
||||||
|
remote = "images"
|
||||||
|
image = "ubuntu/18.04"
|
||||||
|
ephemeral = false
|
||||||
|
|
||||||
|
config = {
|
||||||
|
"boot.autostart" = true
|
||||||
|
}
|
||||||
|
|
||||||
|
limits = {
|
||||||
|
cpu = 2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user