applied

On Thu, Jul 27, 2017 at 10:31:16AM +0200, Fabian Grünbichler wrote:
> by ensuring at least lo is up inside the chroot environment
> 
> Signed-off-by: Fabian Grünbichler <f.gruenbich...@proxmox.com>
> ---
> as reported e.g. on https://forum.proxmox.com/threads/install-error.35932/
> 
>  proxinstall | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/proxinstall b/proxinstall
> index 21d2005..afb7a01 100755
> --- a/proxinstall
> +++ b/proxinstall
> @@ -1449,6 +1449,9 @@ _EOD
>  
>       display_html ("extract4-virus.htm");
>  
> +     # needed for postfix postinst in case no other NIC is active
> +     syscmd("chroot $targetdir ifup lo");
> +
>       my $cmd = "chroot $targetdir dpkg $dpkg_opts --force-confold 
> --configure -a";
>       $count = 0;
>       run_command ($cmd, sub {
> -- 
> 2.11.0

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to