Fix detecion of the alpine architecture name.
This allows us to create both armv7 and armhf (armv6) containers on an
aarch64 host. eg.
lxc-create -t alpine a1 -- -a armv7
It also allows us to create mips64 and s390x containers, and potentially
new architectures in the future.
On a Debian sid system with lxc 5.0.3 and the latest snapshot of lxc-templates,
attempting to create an alpine container fails with the error "mknod:
dev/console: File exists". This had been reported a while back in Debian
bug #998095 and partially addressed in #46.
I performed some testing of the resulting alpine container, and things appear
to be working correctly.
Signed-off-by: Mathias Gibbens <gibmat@debian.org>
Alpine started using https://git.alpinelinux.org/aports/plain/main/alpine-keys/ to publish their apk keys as of 3.15, so using the old URI will give errors about signature verification since a required key is missing
Remove old key
Fix#43 - let lxc config create character devices
Creating lxc containers will error out when trying to create character devices with "file exists". This does not appear to be necessary for most of them since they get created when you actually start the container.
Signed-off-by: 4oo4 <4oo4@users.noreply.github.com>