public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
From: aderumier@odiso.com
To: Proxmox VE user list <pve-user@lists.proxmox.com>,
	 pve-user@pve.proxmox.com
Subject: Re: [PVE-User] Cloud-init don't manage resolv.conf on Debian 10
Date: Thu, 21 Jan 2021 17:50:38 +0100	[thread overview]
Message-ID: <e76ca0ec9a2733a6344240a7356db77835137f95.camel@odiso.com> (raw)
In-Reply-To: <mailman.591.1611243365.344.pve-user@lists.proxmox.com>

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


       reply	other threads:[~2021-01-21 16:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.591.1611243365.344.pve-user@lists.proxmox.com>
2021-01-21 16:50 ` aderumier [this message]
     [not found]   ` <CAGehcqEo+bDhSxbUa5ub_Nb-ZjMycFmed8JrHUAOakRKdYpmkA@mail.gmail.com>
     [not found]     ` <CAGehcqGggAQxcsq6bh-r08hHCywKbvu21-QJE4kjqG8BsW=bkg@mail.gmail.com>
2021-01-22  9:04       ` aderumier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e76ca0ec9a2733a6344240a7356db77835137f95.camel@odiso.com \
    --to=aderumier@odiso.com \
    --cc=pve-user@lists.proxmox.com \
    --cc=pve-user@pve.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal