nixos/minio: replace deprecated mc config host command
This commit is contained in:
parent
dcd99fdf96
commit
c793c51b88
@ -82,7 +82,7 @@ in
|
||||
|
||||
# Create a test bucket on the server
|
||||
machine.succeed(
|
||||
"mc config host add minio http://localhost:9000 ${accessKey} ${secretKey} --api s3v4"
|
||||
"mc alias set minio http://localhost:9000 ${accessKey} ${secretKey} --api s3v4"
|
||||
)
|
||||
machine.succeed("mc mb minio/test-bucket")
|
||||
machine.succeed("${minioPythonScript}")
|
||||
@ -101,7 +101,7 @@ in
|
||||
|
||||
# Create a test bucket on the server
|
||||
machine.succeed(
|
||||
"mc config host add minio https://localhost:9000 ${accessKey} ${secretKey} --api s3v4"
|
||||
"mc alias set minio https://localhost:9000 ${accessKey} ${secretKey} --api s3v4"
|
||||
)
|
||||
machine.succeed("mc --insecure mb minio/test-bucket")
|
||||
machine.succeed("${minioPythonScript} tls")
|
||||
|
Loading…
x
Reference in New Issue
Block a user