mirror of
https://github.com/lxc/lxc-templates.git
synced 2025-08-21 04:10:55 +00:00
Compare commits
4 Commits
c3f8874bdb
...
3d8a729837
Author | SHA1 | Date | |
---|---|---|---|
|
3d8a729837 | ||
|
84b0597a9f | ||
|
0f383bc13b | ||
|
e0d8f58995 |
@ -374,12 +374,19 @@ download_debian()
|
|||||||
iproute=iproute2
|
iproute=iproute2
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
if [ `apt search dialog |grep ^dialog\/ |wc -l` != 0 ]; then
|
||||||
|
dialoglike="dialog"
|
||||||
|
elif [ `apt search whiptail |grep ^whiptail\/ |wc -l` != 0 ]; then
|
||||||
|
dialoglike="whiptail"
|
||||||
|
elif [ `apt search Xdialog |grep ^Xdialog\/ |wc -l` != 0 ]; then
|
||||||
|
dialoglike="Xdialog"
|
||||||
|
fi
|
||||||
packages=\
|
packages=\
|
||||||
$init,\
|
$init,\
|
||||||
ifupdown,\
|
ifupdown,\
|
||||||
locales,\
|
locales,\
|
||||||
ca-certificates,\
|
ca-certificates,\
|
||||||
dialog,\
|
$dialoglike,\
|
||||||
isc-dhcp-client,\
|
isc-dhcp-client,\
|
||||||
netbase,\
|
netbase,\
|
||||||
net-tools,\
|
net-tools,\
|
||||||
@ -691,8 +698,8 @@ Options :
|
|||||||
-S, --auth-key=KEYFILE SSH public key to inject into the container as the root user.
|
-S, --auth-key=KEYFILE SSH public key to inject into the container as the root user.
|
||||||
-a, --arch=ARCH The container architecture. Can be one of: i686, x86_64,
|
-a, --arch=ARCH The container architecture. Can be one of: i686, x86_64,
|
||||||
amd64, armhf, armel, powerpc. Defaults to host arch.
|
amd64, armhf, armel, powerpc. Defaults to host arch.
|
||||||
-r, --release=RELEASE Debian release. Can be one of: wheezy, jessie, stretch, buster,
|
-r, --release=RELEASE Debian release. Can be one of: buster, bullseye, bookworm, trixie,
|
||||||
bullseye, bookworm, trixie, sid. Defaults to current stable.
|
testing, sid. Defaults to current stable.
|
||||||
--mirror=MIRROR Debian mirror to use during installation. Overrides the MIRROR
|
--mirror=MIRROR Debian mirror to use during installation. Overrides the MIRROR
|
||||||
environment variable (see below).
|
environment variable (see below).
|
||||||
--keyring=KEYRING GPG keyring to authenticate the repository against.
|
--keyring=KEYRING GPG keyring to authenticate the repository against.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user