Skip to content

Commit

Permalink
Fix rhcos vmtools_install_type
Browse files Browse the repository at this point in the history
Signed-off-by: Qi Zhang <qi-keira.zhang@broadcom.com>
  • Loading branch information
keirazhang committed May 24, 2024
1 parent 13ba50f commit b4ade26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linux/utils/get_guest_ovt_version_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
# Neither ovt_verify_pkg_install or ovt_verify_src_install was executed in current testing
- name: "Get open-vm-tools install type on {{ guest_os_ansible_distribution }}"
when:
- guest_os_ansible_distribution != 'Flatcar'
- guest_os_ansible_distribution not in ['Flatcar', 'RHCOS']
- ovt_install_type is undefined
block:
- name: "Get open-vm-tools package info"
Expand All @@ -49,7 +49,7 @@
- name: "Set fact of open-vm-tools install type to 'package' for Flatcar"
ansible.builtin.set_fact:
vmtools_install_type: "package"
when: guest_os_ansible_distribution == 'Flatcar'
when: guest_os_ansible_distribution in ['Flatcar', 'RHCOS']

# Either ovt_verify_pkg_install or ovt_verify_src_install was executed in current testing
- name: "Set fact of open-vm-tools install type to '{{ ovt_install_type }}' for {{ guest_os_ansible_distribution }}"
Expand Down

0 comments on commit b4ade26

Please sign in to comment.