network-config should allow dhcp client option values

Bug #1720426 reported by Ryan Harper
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Expired
Wishlist
Unassigned

Bug Description

DHCP clients can send specific values in the dhcp request such as hostname, lease time, client_id, vendor_id, etc.

The dhcp configuration option in v1, and v2 (and others) only has dhcp as a boolean.

v1:
network:
  version: 1
  config:
    - type: physical
      name: eth0
      mac_address: 00:11:22:33:44:55
      subnets:
        - type: dhcp
          hostname: myhostname
          client: client_id_1
          lease: 3600

Would render in eni:

auto iface eth0 dhcp
  hostname myhostname
  client: client_id_1
  lease 3600

Dan Watkins (oddbloke)
Changed in cloud-init:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
James Falcon (falcojr) wrote :
Changed in cloud-init:
status: Triaged → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.