Diff comments:
> diff --git a/curtin/commands/apt_config.py b/curtin/commands/apt_config.py
> index f9cce34..e02327a 100644
> --- a/curtin/commands/apt_config.py
> +++ b/curtin/commands/apt_config.py
> @@ -714,6 +713,7 @@ def translate_old_apt_features(cfg):
> raise ValueError(msg)
>
> old = cfg.get('apt_mirrors')
> + cfg.setdefault('apt', {})
mirrors unittests would be nice
> cfg['apt']['primary'] = [{"arches": ["default"],
> "uri": old.get('ubuntu_archive')}]
> cfg['apt']['security'] = [{"arches": ["default"],
--
https://code.launchpad.net/~ogayot/curtin/+git/curtin/+merge/437494
Your team curtin developers is subscribed to branch curtin:master.
--
Mailing list: https://launchpad.net/~curtin-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~curtin-dev
More help : https://help.launchpad.net/ListHelp
- [Curtin-dev] [Merge] ~ogayot/curtin:curthooks-fix-apt... Olivier Gayot
- [Curtin-dev] [Merge] ~ogayot/curtin:curthooks-fi... Olivier Gayot
- [Curtin-dev] [Merge] ~ogayot/curtin:curthooks-fi... Olivier Gayot
- Re: [Curtin-dev] [Merge] ~ogayot/curtin:curthook... Server Team CI bot
- Re: [Curtin-dev] [Merge] ~ogayot/curtin:curthook... Michael Hudson-Doyle
- Re: [Curtin-dev] [Merge] ~ogayot/curtin:curthook... Olivier Gayot
- Re: [Curtin-dev] [Merge] ~ogayot/curtin:curthook... Server Team CI bot
- Re: [Curtin-dev] [Merge] ~ogayot/curtin:curthook... Dan Bungert
- Re: [Curtin-dev] [Merge] ~ogayot/curtin:curthook... Dan Bungert
- Re: [Curtin-dev] [Merge] ~ogayot/curtin:curthook... Olivier Gayot
- Re: [Curtin-dev] [Merge] ~ogayot/curtin:curthook... Dan Bungert
- Re: [Curtin-dev] [Merge] ~ogayot/curtin:curthook... Michael Hudson-Doyle
- [Curtin-dev] [Merge] ~ogayot/curtin:curthooks-fi... Olivier Gayot
- [Curtin-dev] [Merge] ~ogayot/curtin:curthooks-fi... Olivier Gayot
- [Curtin-dev] [Merge] ~ogayot/curtin:curthooks-fi... mp+437494

