lxc-alpine.in revision 670c6ab8caac48ce5cf043796dd8908114b7f607
4b8c0f56a6a49c41dd0e9fdd28a27c4f35e2a208Julian Kornberger cp -r ${keys_dir:-/etc/apk/keys} "$rootfs"/etc/apk/
4b8c0f56a6a49c41dd0e9fdd28a27c4f35e2a208Julian Kornberger echo "$repository" > "$rootfs"/etc/apk/repositories
4b8c0f56a6a49c41dd0e9fdd28a27c4f35e2a208Julian Kornberger cp /etc/apk/repositories "$rootfs"/etc/apk/repositories || return 1
3e53de144f37b10a1cf8034b8e13c9574503d014Tim Reddehase ${APK:-apk} add -U --initdb --root $rootfs $opt_arch "$@" alpine-base
3e53de144f37b10a1cf8034b8e13c9574503d014Tim Reddehase::sysinit:/sbin/rc sysinit
4b8c0f56a6a49c41dd0e9fdd28a27c4f35e2a208Julian Kornberger::wait:/sbin/rc default
path=$1
rootfs=$2
hostname=$3
cat >&2 <<EOF
-h|--help)
-n|--name)
-p|--path)
-r|--repository)
-a|--arch)
if [ -z "$rootfs" ]; then
x86)