Skip to content

Commit

Permalink
unixPB: apply cloud.cfg etc/hosts fix for scaleway (adoptium#3449)
Browse files Browse the repository at this point in the history
  • Loading branch information
gdams authored Mar 6, 2024
1 parent 8a831d4 commit c6dd3c8
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,19 @@
- providers
- adoptopenjdk

###########
# Marist #
###########
#####################
# Marist & Scaleway #
#####################

# Marist machines need their host template updated for changes to /etc/hosts to persist
# Marist & Scaleway machines need their host template updated for changes to /etc/hosts to persist
- name: Update /etc/cloud/cloud.cfg file - To remove update hosts function
lineinfile:
dest: /etc/cloud/cloud.cfg
regexp: "^.*update_etc_hosts.*$"
state: absent
when:
- provider_name.rc == 0
- provider_name.stdout == "marist"
- (provider_name.stdout == "marist" or provider_name.stdout == "scaleway")
tags:
- providers
- adoptopenjdk

0 comments on commit c6dd3c8

Please sign in to comment.