mirror of
https://github.com/lxc/lxc-templates.git
synced 2025-08-21 04:10:55 +00:00
Compare commits
2 Commits
c3f8874bdb
...
5af60f83ca
Author | SHA1 | Date | |
---|---|---|---|
|
5af60f83ca | ||
|
e0d8f58995 |
@ -367,12 +367,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,\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user