Skip to content

Commit

Permalink
ds-identify: change aarch64 to use the default for non-dmi systems.
Browse files Browse the repository at this point in the history
aarch64 does support dmi, but OpenStack does not populate guests
with this information, and there are currently bugs in qemu preventing
it from working correctly see bug #1663304 for more information.

So, for the time being, pretend as if there is no dmi data on aarch64,
which will make it enable cloud-init even when no datasources are found.
  • Loading branch information
smoser committed Feb 9, 2017
1 parent 3bcb72c commit 7f85a3a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/ds-identify
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,9 @@ parse_policy() {
local def=""
case "$DI_UNAME_MACHINE" in
# these have dmi data
i?86|x86_64|aarch64) def=${DI_DEFAULT_POLICY};;
i?86|x86_64) def=${DI_DEFAULT_POLICY};;
# aarch64 has dmi, but not currently used (LP: #1663304)
aarch64) def=${DI_DEFAULT_POLICY_NO_DMI};;
*) def=${DI_DEFAULT_POLICY_NO_DMI};;
esac
local policy="$1"
Expand Down

0 comments on commit 7f85a3a

Please sign in to comment.