jutkko / copy-pasta

Universal copy paste service, works across different machines!
MIT License
50 stars 12 forks source link

Copy-pasta on Softlayer --> Feature request #14

Closed MissingRoberto closed 7 years ago

MissingRoberto commented 7 years ago

Copy-pasta works on Softlayer too !!! 👍

The problem I was getting is described here: http://stackoverflow.com/questions/42259295/container-storage-location-with-specified-provisioning-code-not-available

The solution was to change the S3LOCATION:

export S3LOCATION=us-standard Example of URL for SL would be:

export S3ENDPOINT=s3-api.wdc-us-geo.objectstorage.softlayer.net

Could you make the login to optionally ask for those variables or having defaults for SL? It's a little inconvenient at the moment.

It would be also great to have the S3LOCATION and URL inside of the targets file, so we can use buckets from different providers.

jutkko commented 7 years ago

@jszroberto thanks a lot for trying it out! I mainly tried to make it work on amazon s3 to start with. But the options thing sounds like a good idea.

Maybe something like copy-pasta login --s3location S3LOCATION --s3endpoint S3ENDPOINT?

jutkko commented 7 years ago

@jszroberto if you find yourself constantly logging in, try the script in usecases. It is written to make your login easier.

jutkko commented 7 years ago

The implementation is there. Still need to update the flag's help.

jutkko commented 7 years ago

Done.

MissingRoberto commented 7 years ago

@jutkko amazing, 👍 I will give a try later :smile