Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-06-26 | migration: T6007: convert all migration scripts to load as module | John Estabrook | |
2023-08-02 | T5427: Fix migration script arguments len expects 2 args | Viacheslav Hletenko | |
The script's name is always provided as the first argument sys.argv[0] Expected length for argv is 2 (script itself + config file) Change: 'if (len(argv) < 1)' to 'if len(argv) < 2' | |||
2020-09-25 | syslog: T2899: shift system migration files +1 to allow for crux | John Estabrook | |
2020-06-11 | system: T2486: migrate disable-dhcp-nameservers to name-servers-dhcp | Jernej Jakob | |
The previous implementation only supported disabling DHCP nameservers for all interfaces, and was implemented improperly so it didn't work anyway. This migrates it to name-servers-dhcp <interface>, which allows us to enable just the interfaces we want to use for system DNS, identical in syntax to 'service dns forwarding dhcp <interface>'. The migrator searches through all interfaces that have address 'dhcp(v6)?' and adds them to the name-servers-dhcp list if disable-dhcp-nameservers is not set, else it does nothing. |