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', {})

Works for me, thanks!

>          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

Reply via email to