Skip to content

Commit 5cae07b

Browse files
committed
修改默认配置文件,避免错误配置SSH公钥导致创建的实例无法登录
1 parent 615a3f4 commit 5cae07b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ func instanceDetails(instanceId *string) {
498498
}
499499
fmt.Println("--------------------")
500500
fmt.Printf("\n\033[1;32m1: %s 2: %s 3: %s 4: %s 5: %s\033[0m\n", "启动", "停止", "重启", "终止", "更换公共IP")
501-
fmt.Printf("\033[1;32m6: %s 7: %s 8:%s\033[0m\n", "升级/降级", "修改名称", "Oracle Cloud Agent 插件配置")
501+
fmt.Printf("\033[1;32m6: %s 7: %s 8: %s\033[0m\n", "升级/降级", "修改名称", "Oracle Cloud Agent 插件配置")
502502
var input string
503503
var num int
504504
fmt.Print("\n请输入需要执行操作的序号: ")

oci-help.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ retry=3
5050
# 延迟时间(秒)
5151
minTime=5
5252
maxTime=30
53-
ssh_authorized_key=
53+
# ssh_authorized_key= # 请在下方 [INSTANCE.ARM] 和 [INSTANCE.AMD] 中配置 SSH 公钥。
5454
# 初始化脚本(将脚本内容base64编码后添加)。该脚本将在您的实例引导或重新启动时运行。
5555
cloud-init=
5656

0 commit comments

Comments
 (0)