mirror of
https://github.com/lxc/lxc-templates.git
synced 2025-08-21 04:10:55 +00:00
Compare commits
2 Commits
3d8a729837
...
c3f8874bdb
Author | SHA1 | Date | |
---|---|---|---|
|
c3f8874bdb | ||
|
e0d8f58995 |
@ -374,12 +374,19 @@ download_debian()
|
||||
iproute=iproute2
|
||||
;;
|
||||
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=\
|
||||
$init,\
|
||||
ifupdown,\
|
||||
locales,\
|
||||
ca-certificates,\
|
||||
dialog,\
|
||||
$dialoglike,\
|
||||
isc-dhcp-client,\
|
||||
netbase,\
|
||||
net-tools,\
|
||||
|
Loading…
x
Reference in New Issue
Block a user