Fixing destroy keyword
This commit is contained in:
parent
bacaa27c0b
commit
0c2d45ccbc
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ resource "null_resource" "control_plane_node_1" {
|
||||||
}
|
}
|
||||||
|
|
||||||
provisioner "local-exec" {
|
provisioner "local-exec" {
|
||||||
when = destroyed
|
when = destroy
|
||||||
|
|
||||||
command = <<EOT
|
command = <<EOT
|
||||||
sudo rm -f /var/lib/libvirt/qemu/nvram/${self.triggers.cluster_name}_VARS.qcow2
|
sudo rm -f /var/lib/libvirt/qemu/nvram/${self.triggers.cluster_name}_VARS.qcow2
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue