Commit 32cb0c2f authored by John Hackett's avatar John Hackett

Enable kvm in container

parent 816da18e
......@@ -23,7 +23,19 @@ resource "lxd_container" "opennebula" {
name = "opennebula"
image = "images:debian/stretch"
privileged = "true"
config {
security.privileged = "true"
security.nesting = "true"
}
device {
name = "kvm"
type = "unix-char"
properties {
path = "/dev/kvm"
}
}
device {
name = "vol1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment