mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix: vpc dhcp options string value should be double quoted (#19163)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
This commit is contained in:
@@ -520,7 +520,7 @@ func generateDhcpOptions(ctx context.Context, guestnetwork *agentmodels.Guestnet
|
||||
dnsDomain = opts.DNSDomain
|
||||
}
|
||||
if len(dnsDomain) > 0 {
|
||||
dhcpopts.Options["domain_name"] = dnsDomain
|
||||
dhcpopts.Options["domain_name"] = "\"" + dnsDomain + "\""
|
||||
}
|
||||
}
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user