From b669c4ae2aab8d294b3a4719e07e65b3550fad54 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Thu, 12 Nov 2026 17:32:28 +0100 Subject: vyos-hostsd-client: T9615: fix setting the host name The host name and domain name were passed to the client as a single dict, so --set-host-name always failed with a TypeError. Both are now passed as separate arguments. --- src/utils/vyos-hostsd-client | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/vyos-hostsd-client b/src/utils/vyos-hostsd-client index 937e657ff..d3f5c0169 100755 --- a/src/utils/vyos-hostsd-client +++ b/src/utils/vyos-hostsd-client @@ -144,7 +144,7 @@ try: elif args.set_host_name: if not args.domain_name: raise ValueError('--domain-name is required for this operation') - client.set_host_name({'host_name': args.set_host_name, 'domain_name': args.domain_name}) + client.set_host_name(args.set_host_name, args.domain_name) elif args.apply: pass -- cgit v1.2.3