Detection of network deps in curthooks does not handle v2 netconfig

Bug #1665954 reported by Wesley Wiedenmeier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
curtin
In Progress
Undecided
Wesley Wiedenmeier

Bug Description

In curthooks.install_missing_packages(), additional packages required in-target for custom network and storage configs are installed as needed based on configs. The code that handles detecting which packages will be required based on network config will not work with v2 network config, as it does not use a list of operations with 'type' keys.

Even if using netconfig passthrough to cloud-init, curtin needs to be able to determine which additional packages must be installed in the target via curthooks, so fixing this is necessary for v2 passthrough support.

Related branches

Changed in curtin:
assignee: nobody → Wesley Wiedenmeier (wesley-wiedenmeier)
tags: added: curtin-network-passthrough
Changed in curtin:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.