Static routes inside systemd-networkd container

Smoke

Active Member
Oct 7, 2014
11
3
43
This function:
Code:
sub setup_network {
    my ($self, $conf) = @_;
    $self->setup_systemd_networkd($conf);
}
overwrites NIC configs, thus making impossible such things as the subject.
Is it possible to modify or to call setup_systemd_networkd method so that it doesn't touch network config when static option for IP enabled, but IP itself is empty? In this case we would have a possibility to configure interfaces manually, even DHCP-enabled ones.

Sorry for my English.