]> xenbits.xensource.com Git - osstest.git/commitdiff
ts-xen-install: Rename $commons_config_file
authorIan Jackson <iwj@xenproject.org>
Fri, 22 Jan 2021 14:37:01 +0000 (14:37 +0000)
committerIan Jackson <iwj@xenproject.org>
Fri, 22 Jan 2021 15:41:10 +0000 (15:41 +0000)
This is the shell script config for xencommons.  We are going to set
other things here too.

No functional change.

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

index 5d4f8b0dc7cba43f42748501c67bd6fe5be97608..feb98951e224376921f891c299b765a8592bbd27 100755 (executable)
@@ -127,18 +127,18 @@ sub adjustconfig () {
        print EO $extra or die $!;
     }) if toolstack($ho)->{Name} eq "xend";
 
-    my $trace_config_file;
+    my $commons_config_file;
     foreach my $try (qw(/etc/default/xencommons
                         /etc/sysconfig/xencommons
                         /etc/default/xend
                         /etc/sysconfig/xend)) {
         next unless target_file_exists($ho, $try);
-        $trace_config_file= $try;
+        $commons_config_file= $try;
         last;
     }
-    die unless defined $trace_config_file;
+    die unless defined $commons_config_file;
 
-    target_editfile_root($ho, $trace_config_file,
+    target_editfile_root($ho, $commons_config_file,
        sub { target_editfile_kvp_replace("XENCONSOLED_TRACE", "guest") });
 
     target_editfile_root($ho, '/etc/libvirt/libvirtd.conf',