From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <aderumier@odiso.com>
Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits))
 (No client certificate requested)
 by lists.proxmox.com (Postfix) with ESMTPS id 25B436A034
 for <pve-user@pve.proxmox.com>; Thu, 21 Jan 2021 17:50:50 +0100 (CET)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id 1D7AF14531
 for <pve-user@pve.proxmox.com>; Thu, 21 Jan 2021 17:50:50 +0100 (CET)
Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com
 [IPv6:2a00:1450:4864:20::533])
 (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by firstgate.proxmox.com (Proxmox) with ESMTPS id 1C5C91450A
 for <pve-user@pve.proxmox.com>; Thu, 21 Jan 2021 17:50:47 +0100 (CET)
Received: by mail-ed1-x533.google.com with SMTP id b21so3278566edy.6
 for <pve-user@pve.proxmox.com>; Thu, 21 Jan 2021 08:50:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=odiso-com.20150623.gappssmtp.com; s=20150623;
 h=message-id:subject:from:to:cc:date:in-reply-to:references
 :user-agent:mime-version;
 bh=4XXC9pqn238GLEHSNiLbxgb/xiEFGc3Fvoot0FR0DsQ=;
 b=V7OylyLVJsZbm4PGlFBLb6MK/Ylj3kJiEWY7tdB3HrndLs6V//H10XxPU1OAvdbyOy
 eXY1zxLjPzLJyFqE9yGDj0uOBKpCNJJ0K5cupTyd+zG1I6T/WMHRZGPo25Yx/aHf+7SL
 s549T5uLgHfUpmJRwIJyXnKEAQDUonIA0bGoBUQnyzE4o8zewCmwgp+S0g8yVLjjonIt
 qkbgjgAX71JLM6un9DCCTMyDATgDRWmPHG1dduDnO1Pim4Vhw9ktUmrKFL1V0DvyxNX2
 rXiITMPFsJFeqHIftprMx9jP1ihDRLzeBFOqcCCWfm+WC9TCTIUlc7SRGdIqX4bTvwKW
 2KAw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to
 :references:user-agent:mime-version;
 bh=4XXC9pqn238GLEHSNiLbxgb/xiEFGc3Fvoot0FR0DsQ=;
 b=Aa8KJOMwHeB0JET0+ZIogTGTd/nCY8Qh0W0aNEju07HMqER8ReH+Th4OLV9eeMScH6
 8uqpT3bJsA61IuvZUcXJ+PwwKFcUiEYPN1/HfdMuqtqhEMiKz7B8d5QwvqiB8p8Uonly
 O3+NKBxHQkSO1Utsmd+r7fsfdESbPgHtf/+AhVk+pcpV2PLwPZ5gGqJYvCdPRbD1hbEP
 lGEsWTMkQSO0AMwlnm1DP2irAcPf3gv++I024/IoEsAWvFTlPIMgysRV7Etd0U3OJJp2
 EFy/NY3sb2ZkwiXi7TYkfJ5RTvQrbuMX/nLKYjbCGV7XyK+ItEgM1wABMwoo9+k19I5Q
 lI/Q==
X-Gm-Message-State: AOAM531Iw9vG+4qXVsV1bTysZ6oSnp/y+dW4RG+UBpMMyOMQ7gIyyp9I
 BmpCqFwgbzJ4HWU4WOlETfXB2w==
X-Google-Smtp-Source: ABdhPJwXuWt7Z1HEK9WvmQTlC91t36pEapg6KSyTGcBBHQ719hgyVafu7qfOqMruFGEIuuayVzRPGw==
X-Received: by 2002:a50:f288:: with SMTP id f8mr22697edm.388.1611247840492;
 Thu, 21 Jan 2021 08:50:40 -0800 (PST)
Received: from [192.168.178.50] ([79.132.253.97])
 by smtp.gmail.com with ESMTPSA id gj9sm1751562ejb.107.2021.01.21.08.50.39
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 21 Jan 2021 08:50:39 -0800 (PST)
Message-ID: <e76ca0ec9a2733a6344240a7356db77835137f95.camel@odiso.com>
From: aderumier@odiso.com
To: Proxmox VE user list <pve-user@lists.proxmox.com>, 
 pve-user@pve.proxmox.com
Date: Thu, 21 Jan 2021 17:50:38 +0100
In-Reply-To: <mailman.591.1611243365.344.pve-user@lists.proxmox.com>
References: <mailman.591.1611243365.344.pve-user@lists.proxmox.com>
User-Agent: Evolution 3.38.3 
MIME-Version: 1.0
X-SPAM-LEVEL: Spam detection results:  0
 AWL -0.071 Adjusted score from AWL reputation of From: address
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 HTML_MESSAGE            0.001 HTML included in message
 KAM_NUMSUBJECT 0.5 Subject ends in numbers excluding current years
 RCVD_IN_DNSWL_NONE     -0.0001 Sender listed at https://www.dnswl.org/,
 no trust
 SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
 SPF_PASS               -0.001 SPF: sender matches SPF record
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
Subject: Re: [PVE-User] Cloud-init don't manage resolv.conf on Debian 10
X-BeenThere: pve-user@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox VE user list <pve-user.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-user>, 
 <mailto:pve-user-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-user/>
List-Post: <mailto:pve-user@lists.proxmox.com>
List-Help: <mailto:pve-user-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user>, 
 <mailto:pve-user-request@lists.proxmox.com?subject=subscribe>
X-List-Received-Date: Thu, 21 Jan 2021 16:50:50 -0000

Le jeudi 21 janvier 2021 à 12:34 -0300, Humberto Jose de Sousa via pve-
user a écrit :
> Hello folks.
> 
> I'm trying to use cloud-init in a VM with a fresh install of Debian
> 10. All
> works, except resolv.conf.
> 
> Anyone could give a tip?
> 
> I'm on the latest proxmox no-subscription. I configured the cloud-
> init
> through a web interface.
> In the VM I installed the cloud-init package. I also tried to install
> the
> resolvconf package, but it did not work.

Hi,

cloud-init write dns config in /etc/network/interfaces.d/cloudinit.cfg.

this is working for ubuntu, because /etc/resolv.conf is not a real
file,
but a symlink manage by resolvconf package (or systemd-resolvd I'm not
sure).


you can try to install "resolvconf" package on debian, it should works