[RTFACT-8276] Url that appears in "Set Me Up" for Vagrant repositories is invalid Created: 29/Sep/15  Updated: 27/Jun/18

Status: Open
Project: Artifactory Binary Repository
Component/s: Vagrant
Affects Version/s: 4.0.2
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Ethan Spoelstra Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None
Environment:

Rhel server, RPM install, nginx proxy.



 Description   

The URL that appears when you click "Set Me Up" on a Vagrant repository has double slashes before the api portion and this fails to properly pull the JSON.



 Comments   
Comment by Paul Guttmann [ 06/Jun/16 ]

Hmmm... the Set Me Up "Resolve" url looks good in 4.7.4
Perhaps this has been fixed ?

Comment by Tommy McNeely [ 27/Jun/18 ]

The "Set Me Up" URL should have a "config.vm.box_url" as that is the "normal" way to resolve a vagrant VM...

 

config.vm.box_url = "https://{artifactory_url}/artifactory/api/vagrant/{vagrant_repo}/{box_name}"

 

NOTE: if the box name contains slashes, they must currently be URLENCODED ( %2F ). See RTFACT-7536

Generated at Tue Feb 18 07:59:18 UTC 2020 using JIRA 7.6.16#76018-sha1:9ed376192612a49536ac834c64177a0fed6290f5.