lorax-composer: Enable ami on aarch64
This commit is contained in:
parent
350baad384
commit
b69e6d725d
@ -877,7 +877,7 @@ def compose_types(share_dir):
|
||||
disable_map = {
|
||||
"arm": ["alibaba", "ami", "google", "hyper-v", "vhd", "vmdk"],
|
||||
"armhfp": ["alibaba", "ami", "google", "hyper-v", "vhd", "vmdk"],
|
||||
"aarch64": ["alibaba", "ami", "google", "hyper-v", "vhd", "vmdk"],
|
||||
"aarch64": ["alibaba", "google", "hyper-v", "vhd", "vmdk"],
|
||||
"ppc": ["alibaba", "ami", "google", "hyper-v", "vhd", "vmdk"],
|
||||
"ppc64": ["alibaba", "ami", "google", "hyper-v", "vhd", "vmdk"],
|
||||
"ppc64le": ["alibaba", "ami", "google", "hyper-v", "vhd", "vmdk"],
|
||||
|
@ -14,6 +14,10 @@ rlJournalStart
|
||||
if [ "$(uname -m)" == "x86_64" ]; then
|
||||
rlAssertEquals "lists all supported types" \
|
||||
"`$CLI compose types | xargs`" "alibaba ami ext4-filesystem google hyper-v live-iso liveimg-tar openstack partitioned-disk qcow2 tar vhd vmdk"
|
||||
elif [ "$(uname -m)" == "aarch64" ]; then
|
||||
# ami is supported on aarch64
|
||||
rlAssertEquals "lists all supported types" \
|
||||
"`$CLI compose types | xargs`" "ami ext4-filesystem live-iso liveimg-tar openstack partitioned-disk qcow2 tar"
|
||||
else
|
||||
# non-x86 architectures disable alibaba
|
||||
rlAssertEquals "lists all supported types" \
|
||||
|
Loading…
Reference in New Issue
Block a user