If I go in and edit the file /usr/libexec/vyos/conf_mode/dhcp_server.py and set the path to /opt/vyatta/config/dhcpd.leases and then run the same commands in config mode and commit it all works fine.
This is based on the rolling release vyos-1.2.0-rolling+201902201040-amd64
Is this an issue with the rolling release, or have I done something wrong?
Well, it looks like its a case with the Live CD. Once I install the image to the HD I no longer have the issue. In Live mode, the commands issued that result in the error mentioned are:
set interfaces ethernet eth0 address '192.168.0.1/24'
set service dhcp-server shared-network-name LOCAL subnet 192.168.0.0/24 default-router '192.168.0.1'
set service dhcp-server shared-network-name LOCAL subnet 192.168.0.0/24 dns-server '8.8.8.8'
set service dhcp-server shared-network-name LOCAL subnet 192.168.0.0/24 range LOCAL start 192.168.0.10
set service dhcp-server shared-network-name LOCAL subnet 192.168.0.0/24 range LOCAL stop 192.168.0.50
And hence my hack for the iso to change the location of the lease file in the dhcp_server.py to a persistent storage location worked … but obviously not a solution