Skip to content

Commit

Permalink
Revert "ds-identify/CloudStack: $DS_MAYBE if vm running on vmware/xen (
Browse files Browse the repository at this point in the history
…#4281)"

This reverts commit 7949bb3
but keeps the CLA signature.

Fixes GH-4501
LP: #2039453
  • Loading branch information
TheRealFalcon committed Oct 16, 2023
1 parent 3582dbe commit 14719ea
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
5 changes: 0 additions & 5 deletions tests/unittests/test_ds_identify.py
Original file line number Diff line number Diff line change
Expand Up @@ -1488,7 +1488,6 @@ def _print_run_output(rc, out, err, cfg, files):
},
"IBMCloud-metadata": {
"ds": "IBMCloud",
"policy_dmi": POLICY_FOUND_ONLY,
"mocks": [
MOCK_VIRT_IS_XEN,
{"name": "is_ibm_provisioning", "ret": shell_false},
Expand Down Expand Up @@ -1555,7 +1554,6 @@ def _print_run_output(rc, out, err, cfg, files):
},
"IBMCloud-nodisks": {
"ds": "IBMCloud",
"policy_dmi": POLICY_FOUND_ONLY,
"mocks": [
MOCK_VIRT_IS_XEN,
{"name": "is_ibm_provisioning", "ret": shell_false},
Expand Down Expand Up @@ -1642,7 +1640,6 @@ def _print_run_output(rc, out, err, cfg, files):
},
"VMware-NoValidTransports": {
"ds": "VMware",
"policy_dmi": POLICY_FOUND_ONLY,
"mocks": [
MOCK_VIRT_IS_VMWARE,
],
Expand All @@ -1665,7 +1662,6 @@ def _print_run_output(rc, out, err, cfg, files):
},
"VMware-EnvVar-NoData": {
"ds": "VMware",
"policy_dmi": POLICY_FOUND_ONLY,
"mocks": [
{
"name": "vmware_has_envvar_vmx_guestinfo",
Expand Down Expand Up @@ -1775,7 +1771,6 @@ def _print_run_output(rc, out, err, cfg, files):
},
"VMware-GuestInfo-NoData": {
"ds": "VMware",
"policy_dmi": POLICY_FOUND_ONLY,
"mocks": [
{
"name": "vmware_has_rpctool",
Expand Down
3 changes: 0 additions & 3 deletions tools/ds-identify
Original file line number Diff line number Diff line change
Expand Up @@ -739,9 +739,6 @@ probe_floppy() {
dscheck_CloudStack() {
is_container && return ${DS_NOT_FOUND}
dmi_product_name_matches "CloudStack*" && return $DS_FOUND
if [ "$DI_VIRT" = "vmware" ] || [ "$DI_VIRT" = "xen" ]; then
return $DS_MAYBE
fi
return $DS_NOT_FOUND
}

Expand Down

0 comments on commit 14719ea

Please sign in to comment.