mknet/scenarios/minio-manual

13 lines
250 B
Text
Raw Normal View History

2022-09-23 15:55:45 +00:00
#!/usr/bin/env python3
from fragments import shared, flavor, minio
import sys
for fl in sys.argv[1:]:
if fl in flavor.minio:
minio.version = flavor.minio[fl]
if shared.id() == 1:
minio.deploy_coord()
else:
minio.deploy_follow()