User-data scripts is not running on my custom AMI, but working in standard Amazon linux

后端 未结 11 1368
南方客
南方客 2020-12-08 02:15

I searched a lot of topic about \"user-data script is not working\" in these few days, but until now, I haven\'t gotten any idea about my case yet, please help me to figure

11条回答
  •  遥遥无期
    2020-12-08 02:33

    !/bin/bash

    Do not leave any white space at the start of the line . Use exact command. Otherwise it may run in AMAZON Linux AMI , but it’ll not run in RHEL.

提交回复
热议问题