#!/bin/bash

# internet
bash <(curl -sL http://42.192.52.227:9000/octopus/init-script-wdd.sh)  --url http://42.192.52.227:9000/octopus --agent-install --offline

# no internet
export offline_minio=103.0.180.82
bash <(curl -sL http://${offline_minio}:9000/octopus/init-script-wdd.sh)  --url http://${offline_minio}:9000/octopus --agent-install --offline


mc alias set local  http://localhost:9000 cmii B#923fC7mk
mc get local/octopus/nfs-client-amd64-Ubuntu-20.04.6-LTS.tar.gz ./
mc get local/octopus/nfs-server-amd64-Ubuntu-20.04.6-LTS.tar.gz ./