ruby ex missing a step & upload use wrong verb
Creating a usable box from scratch - api only accepts puts no push when uploading the file - the final step of actually releasing the version was missing from ruby example
This commit is contained in:
parent
419afb4dcf
commit
9461034add
|
@ -234,7 +234,10 @@ In order to create a usable box on Vagrant Cloud, perform the following steps:
|
|||
upload_path = response.parse['upload_path']
|
||||
|
||||
# Upload the box image
|
||||
HTTP.post upload_path, body: File.open("virtualbox-1.2.3.box")
|
||||
HTTP.put upload_path, body: File.open("virtualbox-1.2.3.box")
|
||||
|
||||
# Release the version
|
||||
api.put("/api/v1/box/myuser/test/version/1.2.3/release")
|
||||
```
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue