mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 03:44:32 +00:00
lxc-debian: fix regression when creating wheezy containers
The regression was introduced by commit
3c39b0b7a2
which makes it possible to
create working stretch containers by forcinig `init` to be in the
included package list.
However, `init` didn't exit before jessie, so now for wheezy we
explicitly include `sysvinit`; sysvinit on wheezy is essential,
so it would already be included anyway.
Signed-off-by: Antonio Terceiro <terceiro@debian.org>
This commit is contained in:
parent
60cfbd8a92
commit
f95776dffa
@ -296,8 +296,16 @@ cleanup()
|
||||
|
||||
download_debian()
|
||||
{
|
||||
case "$release" in
|
||||
wheezy)
|
||||
init=sysvinit
|
||||
;;
|
||||
*)
|
||||
init=init
|
||||
;;
|
||||
esac
|
||||
packages=\
|
||||
init,\
|
||||
$init,\
|
||||
ifupdown,\
|
||||
locales,\
|
||||
libui-dialog-perl,\
|
||||
|
Loading…
Reference in New Issue
Block a user