Commit 75275a1e by Thierry Fauck Committed by Stéphane Graber

lxc-create -t debian fails on ppc64el arch

Template catches arch from uname -m, but for ppc64el system, arch reports ppc64le which doesn't match image repo. Signed-off-by: 's avatarThierry Fauck <tfauck@free.fr> Signed-off-by: 's avatarSerge Hallyn <serge@hallyn.com>
parent cf9d209c
......@@ -519,6 +519,8 @@ elif [ "$arch" = "x86_64" ]; then
arch="amd64"
elif [ "$arch" = "armv7l" ]; then
arch="armhf"
elif [ "$arch" = "ppc64le" ]; then
arch="ppc64el"
fi
hostarch=$arch
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment