From 735b628db7e1b756d82fccb29f885d30045dcde5 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 22 Jan 2021 14:38:35 +0000 Subject: [PATCH] ts-xen-install: Break out @commons_config We are going to set other things here too. Prepare for that. No functional change. Signed-off-by: Ian Jackson --- ts-xen-install | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ts-xen-install b/ts-xen-install index feb9895..fc4bf42 100755 --- a/ts-xen-install +++ b/ts-xen-install @@ -138,8 +138,12 @@ sub adjustconfig () { } die unless defined $commons_config_file; + my @commons_config = + ( + "XENCONSOLED_TRACE" => "guest", + ); target_editfile_root($ho, $commons_config_file, - sub { target_editfile_kvp_replace("XENCONSOLED_TRACE", "guest") }); + sub { target_editfile_kvp_replace(@commons_config) }); target_editfile_root($ho, '/etc/libvirt/libvirtd.conf', sub { target_editfile_kvp_replace("log_level", "1") }) -- 2.39.5