canonical / canonical/cloud-init
dns-sortlist not recognized in network-config
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 1.1k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 18
Description
This bug was originally filed in Launchpad as [LP: #1704402](https://bugs.launchpad.net/cloud-init/+bug/1704402)
Launchpad details
affected_projects = []
assignee = None
assignee_name = None
date_closed = None
date_created = 2017-07-14T14:32:40.942560+00:00
date_fix_committed = None
date_fix_released = None
id = 1704402
importance = undecided
is_complete = False
lp_url = https://bugs.launchpad.net/cloud-init/+bug/1704402
milestone = None
owner = smoser
owner_name = Scott Moser
private = False
status = confirmed
submitter = jfgibbins
submitter_name = James Gibbins
tags = []
duplicates = [1711967]
_Launchpad user **James Gibbins(jfgibbins)** wrote on 2017-07-14T14:32:40.942560+00:00_
I'm using LXD with Ubuntu images, and cloud-init to do initial setup of container. I'm not sure, but I believe the issue is in cloud-init, but would appreciate a pointer to the right location if not. Currently using network-config meta data, cloud-init takes the following config and converts correctly:
version: 1
config:
- type: physical
name: eth0
- type: nameserver
address: ['xx.xx.xx.xx']
search: ['example.local', 'example.org']
However including the following line is not recognized:
sortlist: ['xx.xx.xx.xx', 'xx.xx.xx.xx']
Please add support for this standard nameserver option.
Contributor guide
Assessment
This issue has not been assessed yet.