← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1720426] [NEW] network-config should allow dhcp client option values

 

Public bug reported:

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

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1720426

Title:
  network-config should allow dhcp client option values

Status in cloud-init:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1720426/+subscriptions


Follow ups