Get extension from command line and not from environment
This helps t/xt-create-xen-config to pass.
This commit is contained in:
parent
82fae6a5bc
commit
05def34ca4
@ -151,6 +151,7 @@ my @PARTITIONS = undef;
|
||||
# Default options
|
||||
#
|
||||
$CONFIG{ 'template' } = '/etc/xen-tools/xm.tmpl';
|
||||
$CONFIG{ 'extension' } = '.cfg';
|
||||
|
||||
|
||||
#
|
||||
@ -334,12 +335,11 @@ sub importPartitionsFromEnvironment
|
||||
|
||||
sub createXenConfig
|
||||
{
|
||||
|
||||
#
|
||||
# The output file we're going to process.
|
||||
#
|
||||
my $file =
|
||||
$CONFIG{ 'output' } . '/' . $ENV{ 'hostname' } . $ENV{ 'extension' };
|
||||
$CONFIG{ 'output' } . '/' . $ENV{ 'hostname' } . $CONFIG{ 'extension' };
|
||||
|
||||
#
|
||||
# The template we're going to read from.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user