mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-05 21:11:52 +07:00
Add test container
This commit is contained in:
parent
1a16900cbc
commit
47ed8f481d
@ -1,2 +1,17 @@
|
||||
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