Skip to content

Commit

Permalink
tests: Update for security.guestapi
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <[email protected]>
  • Loading branch information
stgraber committed Dec 15, 2023
1 parent d33ad64 commit 9ec0b6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/instance/resource_instance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func TestAccInstance_virtualMachineNoDevLxd(t *testing.T) {
resource.TestCheckResourceAttr("lxd_instance.instance1", "name", instanceName),
resource.TestCheckResourceAttr("lxd_instance.instance1", "type", "virtual-machine"),
resource.TestCheckResourceAttr("lxd_instance.instance1", "status", "Running"),
resource.TestCheckResourceAttr("lxd_instance.instance1", "config.security.devlxd", "false"),
resource.TestCheckResourceAttr("lxd_instance.instance1", "config.security.guestapi", "false"),
),
},
},
Expand Down Expand Up @@ -804,7 +804,7 @@ resource "lxd_instance" "instance1" {
config = {
# Alpine images do not support secureboot.
"security.secureboot" = false
"security.devlxd" = false
"security.guestapi" = false
}
}
`, name, acctest.TestImage)
Expand Down

0 comments on commit 9ec0b6c

Please sign in to comment.