user data commands not running

0

Hi,
I'm passing a number of powershell commands to an instance and the commands are been skipped, here's the log entry which is a warning:
Skipping task postReadyUserData-executeScript-0
I've searched for the error and there's nothing, has anybody got an idea of what's wrong?

已提問 4 年前檢視次數 1153 次
2 個答案
0

Found the problem, the file C:\ProgramData\Amazon\EC2Launch\state.run-once already exists, so user data is not run.
The image I'm using is a copy of a another instance, I'm having to reverse engineer a three year old system and it's all a bit messy.

已回答 4 年前
0

Found the problem, the file C:\ProgramData\Amazon\EC2Launch\state.run-once already exists, so user data is not run.
The image I'm using is a copy of another instance, I'm having to reverse engineer a three year old system and it's all a bit messy.

Edited by: cleggisimo on Sep 14, 2020 3:30 AM

已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南