Skip to content
  • Gregory Szorc's avatar
    automation: schedule an EC2Launch run on next boot · c09e8ac3f61f
    Gregory Szorc authored
    Without this, launching EC2 instances constructed from the AMI
    won't go through the normal EC2 instance launch machinery. This
    missing machinery does important things like set up network
    routes to use the instance metadata service and process any
    UserData.
    
    Since EC2Launch now runs on subsequent boots and UserData is
    processed, we needed to make setting of UserData conditional
    on bootstrapping mode.
    
    Differential Revision: https://phab.mercurial-scm.org/D7113
    c09e8ac3f61f