← Back to team overview

cloud-init team mailing list archive

nameserver

 

Hello,

I'm trying to set my resolv.conf by adding a network data file

#cloud-config
network:
  version: 1
  config:
    - type: nameserver
      address:
      - '10.0.0.10'
      search:
      - 'mypersonaldomain.com'

and while this works for resolv.conf, my network interfaces now get no
IP address from DHCP. Which would be the way to configure resolv.conf
without messing with the rest of the network configuration?

Thanks