-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: ZouYuhua <zouy@vmware.com>
- Loading branch information
ZouYuhua
committed
Nov 14, 2023
1 parent
f0c244f
commit d144644
Showing
3 changed files
with
20 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Copyright 2023 VMware, Inc. | ||
# SPDX-License-Identifier: BSD-2-Clause | ||
--- | ||
# Guest id "asianux8_64Guest" and full name "MIRACLE LINUX 8 (64-bit)" is available on ESXi 6.7 or later | ||
# When Miracle Linux 9.x is available, its expected guest id and guest full name is same as Miracle Linux 8.x on ESXi 8.x, | ||
# as there is no Miracle Linux 9 (64-bit) selection in vSphere UI | ||
|
||
- name: "Set fact of expected guest id on ESXi {{ esxi_version }}" | ||
ansible.builtin.set_fact: | ||
expected_guest_major_ver: "{{ [guest_os_ansible_distribution_major_ver | int, 8 ] | min }}" | ||
|
||
- name: "Set expected guest id and full name for {{ vm_guest_os_distribution }}" | ||
ansible.builtin.set_fact: | ||
expected_guest_id: "asianux{{ expected_guest_major_ver }}{{ expected_guest_id_suffix }}" | ||
expected_guest_fullname: "MIRACLE LINUX {{ expected_guest_major_ver }} ({{ guest_os_bit }})" | ||
when: | ||
- vmtools_version is defined | ||
- vmtools_version is version('12.3.5', '>') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters