Welcome to the Linux Foundation Forum!

Lab 28.3 Removing VM from command line (qemu)

Hello guys,
I have a question about Lab exercise 28.3 and it's not about the line in the .pdf file :)
I was wondering if there is a "proper" way to remove VM from command line?
I couldn't find anything here on the forum and on the internet I've found that no configuration file is created for VM when using qemu so virsh doesn't see it.
In that case, would it be OK to simply remove the created myimg.qcow2 file?
Thanks in advance!

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Comments

  • Posts: 1,272

    Hi @k0dard ,

    I think the proper way is using 'rm', hehehe. I think you were thinking about it because VirtualBox (or any other similar software), because in that case there is some configuration and also the image file. But in this case I don't see any special procedure to delete the image file. In fact, if you take a look to 'man qemu-img', you will see that the only delete option is for a snapshot, but there isn't one for an image file.

    Regards,
    Luis.

  • Posts: 115

    OK,
    Thanks for your reply :)

  • Posts: 1,272

    It's a pleasure!

    Luis.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training