The current migration script runner is rather messy, and needs a rewrite. See the "Future plans" section of http://wiki.vyos.net/wiki/Migration_scripts
- Difficulty level
- Hard (possibly days)
- Why the issue appeared?
- Will be filled on close
|Resolved||FEATURE REQUEST||jestabro||T1334 Migration script runner rewrite|
|Resolved||FEATURE REQUEST||c-po||T1357 Wrong exit code produced by dhcp-server migration script|
|Resolved||jestabro||T1814 Add log of migration scripts run during config migration|
|Resolved||BUG||jestabro||T1824 Permission denied: '/opt/vyatta/etc/config/vyos-migrate.log'|
Development on this resides in a fork of vyatta-config-migrate (https://github.com/jestabro/vyatta-config-migrate), though properly should reside in a fork of vyos-1x.
While testing I noticed a bug in vyos/vyos-1x/src/migration-scripts/dhcp-server/4-to-5 (wrong indent on last line gives exit code 1), which I'll just change in current, as it is clear.