Member since
04-18-2018
1
Post
0
Kudos Received
0
Solutions
04-18-2018
10:57 AM
Is there any way for me to change the "base_url" without using the GUI? Tried to do this, but it doesn't work: curl -H "X-Requested-By: ambari" -X PUT -u admin:<<password>> http://<HOST>:8080/api/v1/stacks/HDP/versions/2.6/operating_systems/redhat7/repositories/HDP-UTILS-1.1.0.21 -d @payload Payload: {
"Repositories": {
"base_url": "http://notavalidurljusttocheckifitsgotreplaced.org/HDP-UTILS-1.1.0.20/repos/centos6",
"verify_base_url": false
}
} I'm going to hook this action to a Jenkins job, thus I don't have the luxury to do this through GUI.
... View more