explicitly set configdump value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9027 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
5fa6ce032e
commit
ee3e76fee3
@ -8253,6 +8253,10 @@ sub mkdsklsnode
|
||||
if ($imagehash{$image_name}{paging})
|
||||
{
|
||||
$arg_string .= "-a paging=$imagehash{$image_name}{paging} ";
|
||||
# add extras from the cmd line
|
||||
if ($attrs{sparse_paging} ) {
|
||||
$arg_string .= "-a sparse_paging=$attrs{sparse_paging} ";
|
||||
}
|
||||
}
|
||||
if ($imagehash{$image_name}{resolv_conf})
|
||||
{
|
||||
@ -8262,6 +8266,12 @@ sub mkdsklsnode
|
||||
if ($imagehash{$image_name}{dump})
|
||||
{
|
||||
$arg_string .= "-a dump=$imagehash{$image_name}{dump} ";
|
||||
if ($attrs{configdump} ) {
|
||||
$arg_string .= "-a configdump=$attrs{configdump} ";
|
||||
} else {
|
||||
# the default is selective
|
||||
$arg_string .= "-a configdump=selective ";
|
||||
}
|
||||
}
|
||||
if ($imagehash{$image_name}{home})
|
||||
{
|
||||
@ -8277,16 +8287,6 @@ sub mkdsklsnode
|
||||
"-a shared_home=$imagehash{$image_name}{shared_home} ";
|
||||
}
|
||||
|
||||
# add any additional supported attrs from cmd line
|
||||
@attrlist = ("configdump", "sparse_paging");
|
||||
foreach my $attr (keys %attrs)
|
||||
{
|
||||
if (grep(/^$attr$/, @attrlist))
|
||||
{
|
||||
$arg_string .= "-a $attr=$attrs{$attr} ";
|
||||
}
|
||||
}
|
||||
|
||||
#
|
||||
# make sure we have enough space for the new node root dir
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user