From 285f7b515307ab289688fc860a12577246487d91 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 6 Sep 2018 09:56:15 -0700 Subject: [PATCH] pkg/types/installconfig: Drop DNSServer Catching up with 13a7dbba (Remove the 'dns' options from libvirt, 2018-08-26, #214). --- Documentation/design/installconfig.md | 2 -- pkg/asset/installconfig/installconfig_test.go | 3 +-- pkg/types/installconfig.go | 2 -- 3 files changed, 1 insertion(+), 6 deletions(-) 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"` }