add message for 'mknb' in ubuntu LE
This commit is contained in:
parent
cc67df3caa
commit
32d389cbee
@ -20,6 +20,7 @@ set -e
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
echo "If you are installing/updating xCAT-genesis-base separately, not as part of installing/updating all of xCAT, run 'mknb <arch> manually'"
|
||||
touch /etc/xcat/genesis-scripts-updated
|
||||
;;
|
||||
|
||||
|
@ -53,6 +53,9 @@ sub process_request {
|
||||
if (! $arch) {
|
||||
$callback->({error=>"Need to specify architecture (x86, x86_64 or ppc64)"},{errorcode=>[1]});
|
||||
return;
|
||||
} elsif ( $arch eq "ppc64le" or $arch eq "ppc64el" ) {
|
||||
$callback->({data=>"The arch:$arch is not supported at present, pls use \"ppc64\" instead"});
|
||||
return;
|
||||
}
|
||||
unless (-d "$::XCATROOT/share/xcat/netboot/$arch" or -d "$::XCATROOT/share/xcat/netboot/genesis/$arch") {
|
||||
$callback->({error=>"Unable to find directory $::XCATROOT/share/xcat/netboot/$arch or $::XCATROOT/share/xcat/netboot/genesis/$arch",errorcode=>[1]});
|
||||
|
Loading…
Reference in New Issue
Block a user