Skip to content

[BUG] machine delete commands does not delete virsh pools and source folders #4

Description

@IceManGreen

Describe the bug
Deleting a virtual machine using freyja machine delete doesn't erase the libvirt volume pools and the virtual machine's folder in the freyja workspace.

To Reproduce

  1. Create a virtual machine with freyja machine create
  2. Delete this vm with freyja machine delete
  3. Run :
    virsh pool-list --all
    -> the vm's pool still exists
  4. Run :
    ls ~/freyja-workspace/build
    -> the vm's folder still exists

Expected behavior
The deletion should also delete the vm's pool and folder.

Desktop (please complete the following information):

  • OS: Ubuntu 22.04
  • Version: freyja v0.1.0-beta

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions