Skip to content

order of startup script execution is random #199

Description

@fsiegmund

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions