[pve-devel] [PATCH container 8/9] setup: debian: create /etc/network path if missing
Christoph Heiss
c.heiss at proxmox.com
Mon Jun 2 11:37:35 CEST 2025
On Tue May 20, 2025 at 2:42 PM CEST, Filip Schauer wrote:
> This prevents an error during Debian container setup when the
> /etc/network directory is missing.
Out of curiosity: Is this actually related to the OCI support in this
series or a separate/independent fix?
As this is specific to Debian LXCs.
>
> Signed-off-by: Filip Schauer <f.schauer at proxmox.com>
> ---
> src/PVE/LXC/Setup/Debian.pm | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/PVE/LXC/Setup/Debian.pm b/src/PVE/LXC/Setup/Debian.pm
> index 8f7f524..b607c44 100644
> --- a/src/PVE/LXC/Setup/Debian.pm
> +++ b/src/PVE/LXC/Setup/Debian.pm
> @@ -418,6 +418,7 @@ sub setup_network {
> $interfaces;
> }
>
> + $self->ct_make_path('/etc/network');
> $self->ct_file_set_contents($filename, $interfaces);
> }
>
More information about the pve-devel
mailing list