Skip to content

Commit

Permalink
[Linux] Fix test issue for Ububuntu 23.04 (#453)
Browse files Browse the repository at this point in the history
Signed-off-by: Qi Zhang <qiz@vmware.com>
  • Loading branch information
keirazhang authored Apr 10, 2023
1 parent 5f0605e commit c24d0f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion linux/guest_customization/linux_gosc_start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
- name: "Wait for GOSC state is completed"
include_tasks: ../../common/vm_wait_gosc_completed.yml
vars:
get_guest_reset_time_retries: 10
get_guest_reset_time_retries: 20
check_gosc_state_keyword: false

# Traditional GOSC will reboot guest OS (except for Photon) after all customization done
Expand Down
4 changes: 2 additions & 2 deletions linux/vhba_hot_add_remove/wait_device_list_changed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
when:
- "'Flatcar' not in guest_os_ansible_distribution"
- not (guest_os_ansible_distribution == "Ubuntu" and
guest_os_ansible_distribution_major_ver == "22")
guest_os_ansible_distribution_major_ver >= "22")
- guest_os_ansible_distribution != "Fedora"

- name: "Rescan scsi devices in {{ guest_os_ansible_distribution }} {{ guest_os_ansible_distribution_ver }}"
Expand Down Expand Up @@ -83,7 +83,7 @@
when: >
('Flatcar' in guest_os_ansible_distribution or
(guest_os_ansible_distribution == "Ubuntu" and
guest_os_ansible_distribution_major_ver == "22") or
guest_os_ansible_distribution_major_ver >= "22") or
guest_os_ansible_distribution == "Fedora")
when: new_disk_ctrl_type == 'lsilogic'

Expand Down

0 comments on commit c24d0f7

Please sign in to comment.