mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-11 01:30:06 -04:00
[lxd] implement artifact detroy
This commit is contained in:
parent
68bb72380a
commit
acae8fc2f9
1 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue