cloud-init/set-same-DI_DEFAULT_POLICY-for-aarch64-and-x86_64.patch

25 lines
810 B
Diff
Raw Normal View History

diff --git a/tools/ds-identify b/tools/ds-identify
index b4e434c..493cd1e 100644
--- a/tools/ds-identify
+++ b/tools/ds-identify
@@ -1250,7 +1250,7 @@ dscheck_OpenStack() {
# LP: #1715241 : arch other than intel are not identified properly.
case "$DI_UNAME_MACHINE" in
- i?86|x86_64) :;;
+ i?86|x86_64|aarch64) :;;
*) return ${DS_MAYBE};;
esac
@@ -1667,9 +1667,7 @@ parse_policy() {
local def=""
case "$DI_UNAME_MACHINE" in
# these have dmi data
- i?86|x86_64) def=${DI_DEFAULT_POLICY};;
- # aarch64 has dmi, but not currently used (LP: #1663304)
- aarch64) def=${DI_DEFAULT_POLICY_NO_DMI};;
+ i?86|x86_64|aarch64) def=${DI_DEFAULT_POLICY};;
*) def=${DI_DEFAULT_POLICY_NO_DMI};;
esac
local policy="$1"