无法在自定义Windows AMI中运行userdata脚本

时间:2019-03-02 11:25:02

标签: amazon-web-services amazon-ec2

我已经创建了自定义AMI。旋转EC2时从自定义AMI中获取一个文件,希望在桌面上创建一个文件。这没有发生。 如果我对AWS中可用的Windows Server AMI执行相同的操作,则效果很好。

这是我在用户数据中添加的命令。

md C:\Users\<user1>\Desktop\Newfolder
</script>
<persist>true</persist>"```
i tried to configure EC2COnfig service and tried with installing latest .net version too.

0 个答案:

没有答案