Skip to content

Commit

Permalink
修改默认配置文件,避免错误配置SSH公钥导致创建的实例无法登录
Browse files Browse the repository at this point in the history
  • Loading branch information
liukangdev committed Jan 20, 2024
1 parent 615a3f4 commit 5cae07b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ func instanceDetails(instanceId *string) {
}
fmt.Println("--------------------")
fmt.Printf("\n\033[1;32m1: %s 2: %s 3: %s 4: %s 5: %s\033[0m\n", "启动", "停止", "重启", "终止", "更换公共IP")
fmt.Printf("\033[1;32m6: %s 7: %s 8:%s\033[0m\n", "升级/降级", "修改名称", "Oracle Cloud Agent 插件配置")
fmt.Printf("\033[1;32m6: %s 7: %s 8: %s\033[0m\n", "升级/降级", "修改名称", "Oracle Cloud Agent 插件配置")
var input string
var num int
fmt.Print("\n请输入需要执行操作的序号: ")
Expand Down
2 changes: 1 addition & 1 deletion oci-help.ini
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ retry=3
# 延迟时间(秒)
minTime=5
maxTime=30
ssh_authorized_key=
# ssh_authorized_key= # 请在下方 [INSTANCE.ARM] 和 [INSTANCE.AMD] 中配置 SSH 公钥。
# 初始化脚本(将脚本内容base64编码后添加)。该脚本将在您的实例引导或重新启动时运行。
cloud-init=

Expand Down

0 comments on commit 5cae07b

Please sign in to comment.