Skip to content

Commit 766eab8

Browse files
committed
Merge remote-tracking branch 'origin/4.13' into 4.14
2 parents 37c7a2b + ab02cf7 commit 766eab8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

systemvm/debian/opt/cloud/bin/cs/CsDhcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def preseed(self):
158158
self.add_host("::1", "localhost ip6-localhost ip6-loopback")
159159
self.add_host("ff02::1", "ip6-allnodes")
160160
self.add_host("ff02::2", "ip6-allrouters")
161-
if self.config.is_router():
161+
if self.config.is_router() or self.config.is_dhcp():
162162
self.add_host(self.config.address().get_guest_ip(), "%s data-server" % CsHelper.get_hostname())
163163

164164
def write_hosts(self):

0 commit comments

Comments
 (0)