Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.0] bug when HDD of qemu is not in the default directory #1680

Closed
Raizo62 opened this issue Nov 28, 2016 · 5 comments
Closed

[2.0] bug when HDD of qemu is not in the default directory #1680

Raizo62 opened this issue Nov 28, 2016 · 5 comments
Labels
Milestone

Comments

@Raizo62
Copy link

Raizo62 commented Nov 28, 2016

Hi

I think that you can reproduce it with your Live Raizo v8

Just for test, i wanted to create a Qemu device and to use the VDI of VMRaizo.
When GNS3 asks me to choose disk image, i indicate VM-Raizo.vdi (or /opt/raizo/user/OS/VBOX/VDI/VM-Raizo.vdi).
I don't accept to copy the file in the default images directory

When i put my device on the lab, GNS3 says "The image VBOX/VDI/VM-Raizo.vdi is missing"

@julien-duponchelle julien-duponchelle added this to the 2.0 milestone Nov 28, 2016
@julien-duponchelle
Copy link
Contributor

I will need to test on LiveRaizo I don't reproduce it on my mac when I use a random VDI available on my PC.

@julien-duponchelle
Copy link
Contributor

It's look like we consider that the VBOX directory in LIVE RAIZO is a standard folder for images
capture d ecran 2016-11-28 a 15 19 21

capture d ecran 2016-11-28 a 15 43 31

@julien-duponchelle
Copy link
Contributor

I think we recurse on the folder content at the wrong place

@julien-duponchelle
Copy link
Contributor

For legacy reason we support images in the top directory of the default images directories. Problem we recurse search in all folders that could contains images. But later we will detect that the folder is in the default location and strip the beginning.

This problem could also arrive if you setup an additional search image path in the standard location.

We should not recurse if images are in the standard location. Only if they are outside.

@julien-duponchelle
Copy link
Contributor

Fixed. I didn't expect so much work :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants