]> git.proxmox.com Git - pve-container.git/commit - src/PVE/LXC/Create.pm
fix #3478: abort container creation on arch detection timeout
authorLorenz Stechauner <l.stechauner@proxmox.com>
Thu, 22 Jul 2021 07:54:56 +0000 (09:54 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 29 Jul 2021 15:49:22 +0000 (17:49 +0200)
commit91749ee93462a8b749ba0d78a3d1bdd5dfd81afc
tree3cb1dfe1bdeea08175e1ea7952ef86aca3b6a5df
parent66f7024e6c7997d9baa14691a3e46feea7f02887
fix #3478: abort container creation on arch detection timeout

increased the timeout for detect_arch from 5 to 10 seconds.

until now, on any error detect_architecture would fall back to amd64.
to avoid falling back due to an timeout error this function now dies
on timeout errors.

additionally minor changes to the error messages have been made.

Signed-off-by: Lorenz Stechauner <l.stechauner@proxmox.com>
src/PVE/LXC/Create.pm