Skip to Main Content

General Cloud Infrastructure

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

cloud-init script not getting executed

user-wjxyzMay 7 2023

Hi,

I am trying to execute the next script when creating an instance with a custom image that I created based on Ubuntu 22:

After the instance creation I ssh into the instance and I can't see the node_modules folder that should be created with the npm i command, which makes me think the script is not being executed.

I checked the cloud-init.log at /var/logs/ and nothing shows about executing some of my commands.

Comments
Post Details
Added on May 7 2023
1 comment
1,389 views