diff --git a/Documentation/design/installconfig.md b/Documentation/design/installconfig.md index 313b31a97ba..525f6fbf609 100644 --- a/Documentation/design/installconfig.md +++ b/Documentation/design/installconfig.md @@ -128,8 +128,6 @@ type LibvirtNetwork struct { Name string `json:"name"` // IfName is the name of the network interface. IfName string `json:"if"` - // DNSServer is the name of the DNS server. - DNSServer string `json:"resolver"` // IPRange is the range of IPs to use. IPRange string `json:"ipRange"` } diff --git a/pkg/asset/installconfig/installconfig_test.go b/pkg/asset/installconfig/installconfig_test.go index d708b2318ae..12ce4aad5fc 100644 --- a/pkg/asset/installconfig/installconfig_test.go +++ b/pkg/asset/installconfig/installconfig_test.go @@ -87,8 +87,7 @@ func TestInstallConfigGenerate(t *testing.T) { network: if: "" ipRange: "" - name: "" - resolver: ""`, + name: ""`, }, } for _, tc := range cases { diff --git a/pkg/types/installconfig.go b/pkg/types/installconfig.go index 399d54aaf9c..7117e518df0 100644 --- a/pkg/types/installconfig.go +++ b/pkg/types/installconfig.go @@ -107,8 +107,6 @@ type LibvirtNetwork struct { Name string `json:"name"` // IfName is the name of the network interface. IfName string `json:"if"` - // DNSServer is the name of the DNS server. - DNSServer string `json:"resolver"` // IPRange is the range of IPs to use. IPRange string `json:"ipRange"` }