From bfbf793616ce36ec63bac2cf582474c14cecb712 Mon Sep 17 00:00:00 2001 From: Thierry Fauck Date: Fri, 16 Sep 2016 08:34:41 -0500 Subject: [PATCH] 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: Thierry Fauck Signed-off-by: Serge Hallyn --- templates/lxc-debian.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/lxc-debian.in b/templates/lxc-debian.in index 6420b39c8..b45180d63 100644 --- a/templates/lxc-debian.in +++ b/templates/lxc-debian.in @@ -654,6 +654,8 @@ elif [ "$arch" = "x86_64" ]; then arch="amd64" elif [ "$arch" = "armv7l" ]; then arch="armhf" +elif [ "$arch" = "ppc64le" ]; then + arch="ppc64el" elif [ "$arch" = "mips" -a "$littleendian" = "yes" ]; then arch="mipsel" elif [ "$arch" = "mips64" -a "$littleendian" = "yes" ]; then -- 2.39.5