Cannot change dns_sd name

  1. My goal is: I am going to change dns_sd using rpc call config.set
  2. My actions are: I called mos call config.set ‘{“config”:{“dns_sd”:{“host_name”:“something”}}}’
  3. The result I see is: I got {saved:false}
  4. My expectation & question is: previously was working, but does not work with current mos version

The argument save was true by default in previous versions, now it is false.
Add "save":true to your command (and "reboot":true because dns_sd.host_name is read on boot):

mos call config.set '{"config":{"dns_sd":{"host_name":"something"}},"save":true,"reboot":true}'
1 Like