Merge pull request #90 from mslacken/wicked

Looks good to me, thanks!
This commit is contained in:
Gregory M. Kurtzer
2021-08-20 07:53:58 -07:00
committed by GitHub
3 changed files with 40 additions and 0 deletions

View File

@@ -44,6 +44,8 @@ type NetDevs struct {
Default bool `yaml:"default"`
Hwaddr string
Ipaddr string
IpCIDR string
Prefix string
Netmask string
Gateway string `yaml:"gateway,omitempty"`
}
@@ -91,6 +93,8 @@ type NetDevEntry struct {
Default Entry `yaml:"default"`
Hwaddr Entry
Ipaddr Entry
IpCIDR Entry
Prefix Entry
Netmask Entry
Gateway Entry `yaml:"gateway,omitempty"`
}