migration: T6007: update run-config-migration script
(cherry picked from commit 08d4fcbc6243022cda0e889d99817d8e4e0ead78)