← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1618483] Re: landscape-config new registration request prompt should default to no for subsequent runs

 

** Information type changed from Proprietary to Public

** Project changed: landscape => landscape-client

** Also affects: landscape-client (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: landscape-client (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: landscape-client (Ubuntu Artful)
   Importance: Undecided
       Status: New

** Also affects: landscape-client (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Also affects: landscape-client (Ubuntu Zesty)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1618483

Title:
  landscape-config new registration request prompt should default to no
  for subsequent runs

Status in Landscape Client:
  Fix Committed
Status in landscape-client package in Ubuntu:
  New
Status in landscape-client source package in Trusty:
  New
Status in landscape-client source package in Xenial:
  New
Status in landscape-client source package in Zesty:
  New
Status in landscape-client source package in Artful:
  New

Bug description:
  When running landscape-config, this prompt always defaults to Yes:

  "Request a new registration for this computer now? (Y/n):"

  The landscape-config command can be used to change configuration
  options in /etc/landscape/client.conf and should default to No when
  running this command on a computer that is already registered to a
  Landscape server and that server doesn't change during that run of
  landscape-config.

  Steps to replicate:

  1) Install landscape-client package on computer
  $ sudo apt-get install landscape-client

  2) Run landscape-config to register client for the first time
  $ sudo landscape-config --account-name standalone --url https://<server>/message-system --ping-url http://<server>/ping

  3) Run landscape-config again to change an option
  $ sudo landscape-config --ping-interval=60

  [Test Case]

  When running landscape-config, this prompt always defaults to Yes:
  "Request a new registration for this computer now? (Y/n):"
  The landscape-config command can be used to change configuration options in /etc/landscape/client.conf and should default to No when running this command on a computer that is already registered to a Landscape server and that server doesn't change during that run of landscape-config.

  To reproduce:

  1) Install landscape-client package on computer.
  2) Run landscape-config to register client for the first time.
  3) Run landscape-config again to change an option:
  sudo landscape-config --ping-interval=60

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/1618483/+subscriptions