Skip to content

Commit

Permalink
chore(azurelinux): update cloud.cfg.tmpl for azurelinux
Browse files Browse the repository at this point in the history
- Update upstream cloud-init config template for azurelinux distro
- remove modules that not currently supported azurelinux

Co-authored-by: minghe <rmhsawyer>
  • Loading branch information
rmhsawyer authored Sep 3, 2024
1 parent e30ce6b commit 5a74d19
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion config/cloud.cfg.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ cloud_config_modules:
{% if is_rhel %}
- rh_subscription
{% endif %}
{% if variant not in ["mariner", "photon"] %}
{% if variant not in ["azurelinux", "mariner", "photon"] %}
- spacewalk
{% endif %}
- yum_add_repo
Expand All @@ -180,7 +180,9 @@ cloud_config_modules:
{% endif %}
- ntp
- timezone
{% if variant not in ["azurelinux"] %}
- disable_ec2_metadata
{% endif %}
- runcmd
{% if variant in ["debian", "ubuntu", "unknown"] %}
- byobu
Expand All @@ -198,12 +200,16 @@ cloud_final_modules:
- ubuntu_drivers
{% endif %}
- write_files_deferred
{% if variant not in ["azurelinux"] %}
- puppet
- chef
{% endif %}
- ansible
{% if variant not in ["azurelinux"] %}
- mcollective
- salt_minion
- reset_rmc
{% endif %}
- scripts_vendor
- scripts_per_once
- scripts_per_boot
Expand Down

0 comments on commit 5a74d19

Please sign in to comment.