Files
WddSuperAgent/agent-wdd/a_run/cmi-deploy-运行顺序.sh
2025-12-08 22:29:38 +08:00

32 lines
616 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env bash
## https://cdn.dl.k8s.io/release/v1.30.14/bin/linux/amd64/kubectl
##
# 下载安装最新的agent-wdd
# 检查agent-wdd是否正常输出指令若无则程序退出
# 执行获取信息指令 agent-wdd info all
# 执行系统初始化操作
# agent-wdd base tools
# agent-wdd base swap
# agent-wdd base firewall
# agent-wdd base selinux
# agent-wdd base sysconfig
# 读取配置文件,判断是否能够联网
# 能联网 在线安装 docker
# 能联网 离线安装docker指定离线安装
# 不能联网 离线安装docker
#
agent-wdd base ssh config
agent-wdd base ssh key