[英]GC Compute Engine: Unable to Access VM's
The Default startup scripts are not installed automatically, so it gives an error. 默认启动脚本未自动安装,因此会出错。 The error displayed is: "The connection was denied because the user account is not authorized for remote login" 显示的错误是: “连接被拒绝,因为用户帐户未被授权进行远程登录”
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.
I tried some commands but no luck. 我尝试了一些命令,但没有运气。 How do I overcome this? 我该如何克服这个问题?
Like Marius points out, that serial console output is to be expected. 就像Marius指出的那样,可以预期串行控制台输出。 Two considerations: 两个考虑:
1 - your initial username must be different than the hostname / VM name, and; 1 - 您的初始用户名必须与主机名/ VM名称不同,并且;
2 - the password chosen during VM creation must meet password complexity requirements: 2 - 在VM创建期间选择的密码必须满足密码复杂性要求:
Comprehensive Windows on GCE documentation can be found here . 可在此处找到有关GCE文档的综合Windows。 Also consider that Windows VMs usually require 10 min approx before they are fully usable, as described in the Windows on GCE documentation . 还要考虑Windows VM在完全可用之前通常需要10分钟,如Windows on GCE文档中所述 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.