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

no config option for image-project #161

Closed
swills opened this issue Feb 12, 2017 · 2 comments
Closed

no config option for image-project #161

swills opened this issue Feb 12, 2017 · 2 comments

Comments

@swills
Copy link

swills commented Feb 12, 2017

gcloud lets you get images from others projects via the --image-project flag. I'd like to do that for a vagrant box, but there's no option for it. Maybe this is missing in fog-google, not sure yet. As is, I can specify the image, but will have to copy it into my project to use it, otherwise I get an "Invalid image specified" error.

@Temikus
Copy link
Collaborator

Temikus commented Mar 8, 2017

@swills Fog does search inside own project for images, however, looking diagonally through the code it seems that one cannot specify another foreign project to search for images in: https://github.com/fog/fog-google/blob/master/lib/fog/compute/google/models/images.rb#L89

Is the project you're having issues private or global (like centos-cloud)?
If it's global, it's basically a 1-line PR to add it here: https://github.com/fog/fog-google/blob/master/lib/fog/compute/google/models/images.rb#L11

@seanmalloy
Copy link
Contributor

@swills i created #186 to implement this feature. I tested in my environment and confirmed it is working.

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

No branches or pull requests

3 participants