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

ec2: Support double encoded userdata #4276

Merged
merged 2 commits into from
Aug 14, 2023

Commits on Aug 4, 2023

  1. Move the maybe_b64decode() function to util

    This function can be used elsewhere and is not specific to Hetzner
    
    Signed-off-by: Noah Meyerhans <[email protected]>
    Noah Meyerhans authored and nmeyerhans committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    bd5dcd0 View commit details
    Browse the repository at this point in the history
  2. ec2: handle base64 encoded metadata

    Experience has shown that there are a number of tools and common
    patterns that effectively doubly base64 encode userdata.  This change
    replaces a patch previously carried by Amazon Linux that was
    incorrectly ported to cloud-init 22.2.2 in Amazon Linux 2023 add
    addresses amazonlinux/amazon-linux-2023#401
    
    Signed-off-by: Noah Meyerhans <[email protected]>
    Noah Meyerhans authored and nmeyerhans committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    bb72e8a View commit details
    Browse the repository at this point in the history