From: Ian Jackson Date: Fri, 22 Jan 2021 14:37:01 +0000 (+0000) Subject: ts-xen-install: Rename $commons_config_file X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=115460b34a6993a2ab585ff70f21e12006c23a40;p=osstest.git ts-xen-install: Rename $commons_config_file 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 --- diff --git a/ts-xen-install b/ts-xen-install index 5d4f8b0..feb9895 100755 --- a/ts-xen-install +++ b/ts-xen-install @@ -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',