nixos/minio: replace deprecated mc config host command

This commit is contained in:
Pascal Bach 2025-06-02 21:46:06 +02:00
parent dcd99fdf96
commit c793c51b88

View file

@ -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")