┌────────────────────────────────────────────────────────────────────┐
     │                        ? MobaXterm 12.4 ?                          │
     │            (SSH client, X-server and networking tools)             │
     │                                                                    │
     │ ? SSH session to root@192.168.35.71                                │
     │   ? SSH compression : ?                                            │
     │   ? SSH-browser     : ?                                            │
     │   ? X11-forwarding  : ?  (disabled or not supported by server)     │
     │   ? DISPLAY         : 10.250.0.14:0.0                              │
     │                                                                    │
     │ ? For more info, ctrl+click on help or visit our website           │
     └────────────────────────────────────────────────────────────────────┘

Authorized users only.All activity may be monitored and reported!
Last login: Tue Dec 17 14:26:14 2024 from 192.168.103.36
 ? root@onetools-2 �� ~ �� ls
1.py                     all-gzip-image-list.txt          go     logs                 node-p.tar.gz  port_linux_amd64   wdd
2.sh                     Clash.Verge_2.0.1_x64-setup.exe  image  nethogs              nohup.out      Postman-win64.exe
all-cmii-image-list.txt  cmii_third                       k0s    node-p-0.8.7.tar.gz  octopus_image  test.sh
 ? root@onetools-2 �� ~ �� cd image
 ? root@onetools-2 �� ~/image �� ls
 2.sh
'cmii-live-operator=v5.7.0=2024-12-11=206.tar.gz'
'cmii-suav-supervision=6.1.1=2024-12-10=418.tar.gz'
'cmii-uav-advanced5g=6.1.1=2024-12-11=915.tar.gz'
'cmii-uav-bridge=5.7.0-xzga-121001=2024-12-10=210.tar.gz'
'cmii-uav-bridge=5.7.0-xzga-1210=2024-12-10=522.tar.gz'
'cmii-uav-cloud-live=5.7.0-szga=2024-12-13=816.tar.gz'
'cmii-uav-device=5.6.0-szga-1212-arm=2024-12-12=354.tar.gz'
'cmii-uav-device=5.6.0-szga-1216-arm=2024-12-16=178.tar.gz'
'cmii-uav-device=6.1.0-szga-1210=2024-12-10=908.tar.gz'
'cmii-uav-integration=6.1.0-xzga-1211=2024-12-11=277.tar.gz'
'cmii-uav-integration=6.1.0-xzga-1212=2024-12-12=223.tar.gz'
'cmii-uav-integration=6.1.0-xzga-1212=2024-12-12=770.tar.gz'
'cmii-uav-mission=5.4.0-zyga-1216=2024-12-16=288.tar.gz'
'cmii-uav-mission=6.1.1-xzga=2024-12-11=578.tar.gz'
'cmii-uav-mqtthandler=6.1.0-1217-shbj-arm=2024-12-17=514.tar.gz'
'cmii-uav-oauth=6.0.0-33992-120601=2024-12-13=980.tar.gz'
'cmii-uav-platform=5.4.0-27971-zyga-1217=2024-12-17=845.tar.gz'
'cmii-uav-platform=5.7.0-32124-121101-arm=2024-12-11=423.tar.gz'
'cmii-uav-platform=5.7.0-32124-121201-arm=2024-12-12=915.tar.gz'
'cmii-uav-platform=5.7.0-32124-121301-arm=2024-12-13=302.tar.gz'
'cmii-uav-platform=5.7.0-32124-121601-arm=2024-12-16=674.tar.gz'
'cmii-uav-platform=5.7.0-32124-121602-arm=2024-12-16=611.tar.gz'
'cmii-uav-platform=5.7.0-32124-121701-arm=2024-12-17=867.tar.gz'
'cmii-uav-platform=6.0.0-33992-121301=2024-12-13=435.tar.gz'
'cmii-uav-platform=6.1.0-32124-shbj-1217-arm=2024-12-17=736.tar.gz'
'cmii-uav-platform=6.1.0-33579-121110=2024-12-11=944.tar.gz'
'cmii-uav-platform=6.1.0-33579-1211=2024-12-11=358.tar.gz'
'cmii-uav-platform=6.1.1-33579=2024-12-10=863.tar.gz'
'cmii-uav-platform=6.1.1-33579=2024-12-10=866.tar.gz'
'cmii-uav-platform-share=6.1.1=2024-12-10=429.tar.gz'
'cmii-uav-surveillance=5.6.0-szga-1211-arm=2024-12-11=866.tar.gz'
'cmii-uav-surveillance=5.6.0-szga-1217-arm=2024-12-17=394.tar.gz'
'cmii-uav-surveillance=5.7.0-xzga-121101=2024-12-11=439.tar.gz'
'cmii-uav-surveillance=5.7.0-xzga-121101=2024-12-11=939.tar.gz'
'cmii-zlm-oss-adaptor=v2.7.3=2024-12-11=473.tar.gz'
'cmii-zlm-oss-adaptor=v2.7.3=2024-12-11=485.tar.gz'
'cmlc-live=v2.7.3=2024-12-11=256.tar.gz'
'cmlc-live=v2.7.3=2024-12-11=354.tar.gz'
 download_and_compress.sh
 image-clean.sh
 image-sync.sh
 kubectl-1.30.4-amd64
'nginx=1.27.0=2024-12-11=538.tar.gz'
 nohup.out
 rke-1.30.4
 yaml
 ? root@onetools-2 �� ~/image �� bash image-sync.sh -h 172.26.0.31:8033 -u harbor.cdcyy.com.cn/cmii/cmii-admin-data:6.1.1
【上传】 - 需要处理的镜像名称为 => harbor.cdcyy.com.cn/cmii/cmii-admin-data:6.1.1

【上传】 - 开始下载镜像！

下载-镜像下载成功！ => harbor.cdcyy.com.cn/cmii/cmii-admin-data:6.1.1

【上传】 - 将要把镜像压缩为 => cmii-admin-data=6.1.1=2024-12-18=140.tar.gz
【上传】 - 压缩成功 ！ cmii-admin-data=6.1.1=2024-12-18=140.tar.gz

【上传】 - 开始上传至OSS中!
...4-12-18=140.tar.gz: 204.79 MiB / 204.79 MiB ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 24.61 MiB/s 8s【上传】 - 上传OSS成功 => [2024-12-18 09:13:52 CST] 205MiB STANDARD cmii-admin-data=6.1.1=2024-12-18=140.tar.gz

【上传】 - 请在目标Master主机执行如下命令 ↓↓↓↓↓↓

source <(curl -sL https://b2.107421.xyz/image-sync.sh) -d cmii-admin-data=6.1.1=2024-12-18=140.tar.gz

【更新】 - 一键更新微服务的Tag，请执行如下命令 ↓↓↓↓↓↓

wget https://oss.demo.uavcmlc.com/cmlc-installation/tmp/cmii-admin-data=6.1.1=2024-12-18=140.tar.gz && bash ./cmii-update.sh cmii-admin-data=6.1.1=2024-12-18=140.tar.gz

【上传】 - 手动命令执行如下， 目标镜像全程地址为 => 172.26.0.31:8033/cmii/cmii-admin-data:6.1.1

wget https://oss.demo.uavcmlc.com/cmlc-installation/tmp/cmii-admin-data=6.1.1=2024-12-18=140.tar.gz && docker load < cmii-admin-data=6.1.1=2024-12-18=140.tar.gz && docker tag harbor.cdcyy.com.cn/cmii/cmii-admin-data:6.1.1 172.26.0.31:8033/cmii/cmii-admin-data:6.1.1 && docker push 172.26.0.31:8033/cmii/cmii-admin-data:6.1.1

 ? root@onetools-2 �� ~/image ��
Network error: Software caused connection abort

──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Session stopped
    - Press <return> to exit tab
    - Press R to restart session
    - Press S to save terminal output to file