Auto choose IPv4 network during provisioning process

Problem: Within the interface setup I have to choose the IPv4 subnet manually.

Expected outcome: It should choose it automatically.

Foreman and Proxy versions: 1.23

Foreman and Proxy plugin versions:

Distribution and version: Ubuntu 16

Other relevant data:
Ass you can see here:

Foreman already know, that this host is in subnet PE-public.

And in the interface config it is not chosen automatically.

Ii have to choose it manually:

Is there a way to avoid that behaviour?

So the question is only about the workflow with discovery plugin? Then I think @lzap is the one with an answer.

Only way I know would be to use autoprovisioning rules which would take the information not from the discovered host, but the hostgroup used.

No, do you set any hostgroup? Try without hostgroup. The subnet should carry over.