mirror of
https://github.com/rclone/rclone.git
synced 2024-12-23 07:29:35 +01:00
s3: add other regions for Lyve and correct Provider name
This commit is contained in:
parent
69f726f16c
commit
189cba0fbe
@ -58,7 +58,7 @@ import (
|
||||
func init() {
|
||||
fs.Register(&fs.RegInfo{
|
||||
Name: "s3",
|
||||
Description: "Amazon S3 Compliant Storage Providers including AWS, Alibaba, Ceph, Digital Ocean, Dreamhost, IBM COS, Minio, RackCorp, SeaweedFS, and Tencent COS",
|
||||
Description: "Amazon S3 Compliant Storage Providers including AWS, Alibaba, Ceph, Digital Ocean, Dreamhost, IBM COS, Lyve Cloud, Minio, RackCorp, SeaweedFS, and Tencent COS",
|
||||
NewFs: NewFs,
|
||||
CommandHelp: commandHelp,
|
||||
Options: []fs.Option{{
|
||||
@ -85,7 +85,7 @@ func init() {
|
||||
Value: "IBMCOS",
|
||||
Help: "IBM COS S3",
|
||||
}, {
|
||||
Value: "Lyve",
|
||||
Value: "LyveCloud",
|
||||
Help: "Seagate Lyve Cloud",
|
||||
}, {
|
||||
Value: "Minio",
|
||||
@ -769,8 +769,16 @@ func init() {
|
||||
Provider: "SeaweedFS",
|
||||
}, {
|
||||
Value: "s3.us-east-1.lyvecloud.seagate.com",
|
||||
Help: "Seagate Lyve Cloud US East 1",
|
||||
Provider: "Lyve",
|
||||
Help: "Seagate Lyve Cloud US East 1 (Virginia)",
|
||||
Provider: "LyveCloud",
|
||||
}, {
|
||||
Value: "s3.us-west-1.lyvecloud.seagate.com",
|
||||
Help: "Seagate Lyve Cloud US West 1 (California)",
|
||||
Provider: "LyveCloud",
|
||||
}, {
|
||||
Value: "s3.ap-southeast-1.lyvecloud.seagate.com",
|
||||
Help: "Seagate Lyve Cloud AP Southeast 1 (Singapore)",
|
||||
Provider: "LyveCloud",
|
||||
}, {
|
||||
Value: "s3.wasabisys.com",
|
||||
Help: "Wasabi US East endpoint",
|
||||
@ -1951,8 +1959,8 @@ func setQuirks(opt *Options) {
|
||||
virtualHostStyle = false
|
||||
urlEncodeListings = false
|
||||
useMultipartEtag = false // untested
|
||||
case "Lyve":
|
||||
useMultipartEtag = false // Lyve seems to calculate multipart Etags differently from AWS
|
||||
case "LyveCloud":
|
||||
useMultipartEtag = false // LyveCloud seems to calculate multipart Etags differently from AWS
|
||||
case "Minio":
|
||||
virtualHostStyle = false
|
||||
case "Netease":
|
||||
|
@ -2435,13 +2435,13 @@ Choose `s3` backend
|
||||
Type of storage to configure.
|
||||
Choose a number from below, or type in your own value.
|
||||
[snip]
|
||||
XX / Amazon S3 Compliant Storage Providers including AWS, Alibaba, Ceph, Digital Ocean, Dreamhost, IBM COS, Minio, RackCorp, SeaweedFS, and Tencent COS
|
||||
XX / Amazon S3 Compliant Storage Providers including AWS, Alibaba, Ceph, Digital Ocean, Dreamhost, IBM COS, Lyve Cloud, Minio, RackCorp, SeaweedFS, and Tencent COS
|
||||
\ (s3)
|
||||
[snip]
|
||||
Storage> s3
|
||||
```
|
||||
|
||||
Choose `Lyve` as S3 provider
|
||||
Choose `LyveCloud` as S3 provider
|
||||
|
||||
```
|
||||
Choose your S3 provider.
|
||||
@ -2449,9 +2449,9 @@ Choose a number from below, or type in your own value.
|
||||
Press Enter to leave empty.
|
||||
[snip]
|
||||
XX / Seagate Lyve Cloud
|
||||
\ (Lyve)
|
||||
\ (LyveCloud)
|
||||
[snip]
|
||||
provider> Lyve
|
||||
provider> LyveCloud
|
||||
```
|
||||
|
||||
Take the default (just press enter) to enter access key and secret in the config file.
|
||||
@ -2505,12 +2505,16 @@ Endpoint for S3 API.
|
||||
Required when using an S3 clone.
|
||||
Choose a number from below, or type in your own value.
|
||||
Press Enter to leave empty.
|
||||
1 / Seagate Lyve Cloud US East 1
|
||||
1 / Seagate Lyve Cloud US East 1 (Virginia)
|
||||
\ (s3.us-east-1.lyvecloud.seagate.com)
|
||||
2 / Seagate Lyve Cloud US West 1 (California)
|
||||
\ (s3.us-west-1.lyvecloud.seagate.com)
|
||||
3 / Seagate Lyve Cloud AP Southeast 1 (Singapore)
|
||||
\ (s3.ap-southeast-1.lyvecloud.seagate.com)
|
||||
endpoint> 1
|
||||
```
|
||||
|
||||
Leave location constraing blank
|
||||
Leave location constraint blank
|
||||
|
||||
```
|
||||
Location constraint - must be set to match the Region.
|
||||
@ -2541,7 +2545,7 @@ And the config file should end up looking like this:
|
||||
```
|
||||
[remote]
|
||||
type = s3
|
||||
provider = Lyve
|
||||
provider = LyveCloud
|
||||
access_key_id = XXX
|
||||
secret_access_key = YYY
|
||||
endpoint = s3.us-east-1.lyvecloud.seagate.com
|
||||
|
Loading…
Reference in New Issue
Block a user