【发布时间】:2015-02-15 05:39:16
【问题描述】:
默认启动脚本不会自动安装,因此会出错。 显示的错误是:“连接被拒绝,因为用户帐户未授权远程登录”
Calling oobe-script from metadata.
attributes/sysprep-oobe-script-bat value is not set or metadata server is not reachable.
attributes/sysprep-oobe-script-cmd value is not set or metadata server is not reachable.
attributes/sysprep-oobe-script-ps1 value is not set or metadata server is not reachable.
Running schtasks with arguments /run /tn GCEStartup
--> SUCCESS: Attempted to run the scheduled task "GCEStartup".
-------------------------------------------------------------
Instance setup finished. palids is ready to use.
-------------------------------------------------------------
Booting on date 02/14/2015 15:34:18
attributes/windows-startup-script-bat value is not set or metadata server is not reachable.
attributes/windows-startup-script-cmd value is not set or metadata server is not reachable.
attributes/windows-startup-script-ps1 value is not set or metadata server is not reachable.
我尝试了一些命令,但没有运气。我该如何克服呢?
【问题讨论】:
-
您从哪里得到错误“连接被拒绝,因为用户帐户未授权远程登录”?是在尝试对实例进行 RDP 时吗?您看到的错误表明元数据中没有自定义启动脚本,您可以忽略它们。您可能想尝试在创建时设置的初始用户和密码,您可以通过运行 $ gcloud compute instances describe palids 来获得
标签: cloud google-compute-engine google-cloud-platform gcloud