]> xenbits.xensource.com Git - people/aperard/osstest.git/commitdiff
ts-xen-install: Break out @commons_config
authorIan Jackson <iwj@xenproject.org>
Fri, 22 Jan 2021 14:38:35 +0000 (14:38 +0000)
committerIan Jackson <iwj@xenproject.org>
Fri, 22 Jan 2021 15:41:10 +0000 (15:41 +0000)
We are going to set other things here too.  Prepare for that.

No functional change.

Signed-off-by: Ian Jackson <iwj@xenproject.org>
ts-xen-install

index feb98951e224376921f891c299b765a8592bbd27..fc4bf423be2a2091bf646acfa05f2ff228bc3706 100755 (executable)
@@ -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") })