Page MenuHomePhabricator

cli: logical redundancy with boolean type
Open, LowPublic

Description

I think exist another way that more simple to set param set system options reboot-on-panic true. Today I had some logical issue with this command

dimka@vyos-rtr1# set system options reboot-on-panic 
Possible completions:
   <boolean>    Reboot system on kernel panic

      
[edit]
dimka@vyos-rtr1# set system options reboot-on-panic 1

  "1" is not a valid value of type "bool"
  Value validation failed
  Set failed


[edit]
dimka@vyos-rtr1# set system options reboot-on-panic yes

  "yes" is not a valid value of type "bool"
  Value validation failed
  Set failed

[edit]
dimka@vyos-rtr1# set system options reboot-on-panic true

The fourth attempt was successful. I propose use only set system options reboot-on-panic without boolean types.

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close

Event Timeline

Dmitry triaged this task as Low priority.Jul 5 2019, 11:53 AM
Dmitry created this task.
Dmitry created this object in space S1 VyOS Public.
pasik added a subscriber: pasik.Jul 5 2019, 9:53 PM