Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

order of startup script execution is random #199

Open
fsiegmund opened this issue Jul 29, 2020 · 0 comments
Open

order of startup script execution is random #199

fsiegmund opened this issue Jul 29, 2020 · 0 comments

Comments

@fsiegmund
Copy link

If there is more than one startup script in the instance metadata, the order of execution is not deterministic, even so in line 349 of metadata_scripts/GCEMetadataScripts/main.go it says: "This ordering matters. URL is last on Windows, first otherwise.".

This is caused be parseMetadata returning a map instead of an array of key value pairs. Having more than one startup script is quite useful, the code supports this already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant