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

feat: Update cloud-init customization #11

Merged
merged 2 commits into from
Oct 18, 2023

Commits on Oct 12, 2023

  1. feat: Update cloud-init customization

    Changes relative to upstream:
    * Add explanatory comments
    * Do not use stderr output of preKubeadmCommands indicate an error with
      bootstrapping
    
    Changes relative to our fork:
    * Do not enable IPv6
    * Do not remove cloud-init logs and seed
    * Do not disable VMware customization
    * Do not disable network configuration
    * Do not truncate cloud-init-output.log
    * Do not report status of HTTP proxy configuration
    * Do not configure cloud-init to remove SSH keys on first boot
    * Remove commands that are already executed as a result of being defined in `preKubeadmCommands`
    dlipovetsky committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    66ecf82 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. Simplify cloud init

    * Use shell script to clean cloud-init cache and reboot.
    * Fix error handling of bootstrap script. Do not interpret stderr output
      as an indicator of failure. Do not rely on trap and errexit, because
      it does not work for command lists.
    * Include last lines of output for error context.
    * Ensure we have an IPv4 address for localhost.
    * Remove unnecessary cloud-init configuration to preserve SSH host keys.
    dlipovetsky committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    d8316d1 View commit details
    Browse the repository at this point in the history