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?

gefragt vor 4 Jahren1153 Aufrufe
2 Antworten
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.

beantwortet vor 4 Jahren
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

beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen