Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

BoxCI should use the literal image name specified in the openstack config file instead of using Regex #38

Open
jlevis opened this issue Oct 27, 2014 · 0 comments

Comments

@jlevis
Copy link

jlevis commented Oct 27, 2014

BoxCI should use the literal image name specified in the openstack config file instead of using Regex. Otherwise, we run into an issue where another image containing the same text in its name could be picked up unintentionally.

This:
os.image = Regexp.new('<%= @provider_config.fetch("image") -%>')

Should be this:
os.image = "<%= @provider_config.fetch("image") -%>"

In this file:
https://github.com/reachlocal/boxci/blob/master/lib/boxci/templates/providers/openstack/Vagrantfile.erb#L14

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

No branches or pull requests

1 participant