diff --git a/builder/lxd/artifact.go b/builder/lxd/artifact.go index e91fa4070..481f0758e 100644 --- a/builder/lxd/artifact.go +++ b/builder/lxd/artifact.go @@ -29,7 +29,6 @@ func (a *Artifact) State(name string) interface{} { } func (a *Artifact) Destroy() error { - //return os.RemoveAll(a.dir) - //TODO - return nil + _, err := LXDCommand("image", "delete", a.id) + return err }