无法从自定义Windows映像的Ec2Config服务设置计算机名
从Ec2ConfigService记录详细信息:
2017-04-11T22:50:55.803Z: Ec2SetComputerName: Hostname : ip-0A000513
2017-04-11T22:50:55.805Z: Ec2SetComputerName: Current computer Hostname : WIN-FOTFOGGS48H
2017-04-11T22:50:55.805Z: Ec2SetComputerName: Attempting to rename host to: ip-0A000513
2017-04-11T22:50:56.354Z: Waiting for background plugin to complete: Ec2SetComputerName
2017-04-11T22:50:57.163Z: Ec2SetComputerName: Host Rename Failed.
2017-04-11T22:50:57.163Z: Background plugin comp
答案 0 :(得分:0)
CustomImage引用了Domain。这会导致失败。创建了新的自定义图像,没有与任何域的关联,它工作正常
2017-04-13T20:52:36.638Z:=========加载插件Ec2SetComputerName ============== 2017-04-13T20:52:36.640Z:Ec2SetComputerName:在新线程中执行 2017-04-13T20:52:36.650Z:Ec2SetComputerName:主机名:ip-0A0005D4 2017-04-13T20:52:36.652Z:Ec2SetComputerName:当前计算机主机名:WIN-87QRAH306EC 2017-04-13T20:52:36.652Z:Ec2SetComputerName:尝试将主机重命名为:ip-0A0005D4 2017-04-13T20:52:36.669Z:Ec2SetComputerName:主机重命名完成。重新启动已排队。 2017-04-13T20:52:37.780Z:等待后台插件完成:E