Must be overlayfs playing tricks on us. I've noticed this when testing my new migration script. I'm not sure if it happens with old migration scripts, that needs verification.
Reproducing steps:
Make a config with system@7 and "system gateway-address" option. Reboot the system to have it run.
After reboot:
vyos@vyos-test# grep commit-revisions /config/config.boot commit-revisions "2000" vyos@vyos-test# grep commit-revisions /opt/vyatta/etc/config/config.boot commit-revisions "2000"
So far so good. Now make a change and save it:
vyos@vyos-test# set system config-management commit-revisions 3000 [edit] vyos@vyos-test# commit [edit] vyos@vyos-test# save
The files are now different:
vyos@vyos-test# grep commit-revisions /opt/vyatta/etc/config/config.boot commit-revisions 3000 [edit] vyos@vyos-test# grep commit-revisions /config/config.boot commit-revisions "2000" [edit]
Somehow the files are different now!
Reboot fixes it, and the saved changes load as expected, but the situation is confusing.