← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1819966] Re: support NTPSERVERARGS in /etc/sysconfig/network

 

Tracked in Github Issues as https://github.com/canonical/cloud-
init/issues/3353

** Bug watch added: github.com/canonical/cloud-init/issues #3353
   https://github.com/canonical/cloud-init/issues/3353

** Changed in: cloud-init
       Status: Confirmed => Expired

-- 
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/1819966

Title:
  support NTPSERVERARGS in /etc/sysconfig/network

Status in cloud-init:
  Expired

Bug description:
  I'm not sure what's changed but in previous versions of cloud-init, it
  was not owning/writing contents to /etc/sysconfig/network.

  I DHCP my ntp endpoints and provide ntp options via NTPSERVERARGS.
  Example:

  echo 'NTPSERVERARGS="minpoll 3 maxpoll 4"' >> /etc/sysconfig/network

  $ grep server /etc/ntp.conf
  server 10.155.55.1 minpoll 3 maxpoll 4  # added by /sbin/dhclient-script

  
  On boot now /etc/sysconfig/network only has:
  $ cat /etc/sysconfig/network
  # Created by cloud-init on instance boot automatically, do not edit.
  #
  NETWORKING=yes

  So how can i prevent cloud-init from modifying it, or have it write
  the additional option (NTPSERVERARGS) that i need?

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



References