mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-5520 CLOUDSTACK-5418 Script errors seen when trying to seed the 64 bit Xenserver templates.
This commit is contained in:
parent
18fd0157a5
commit
bd639bf145
@ -174,7 +174,7 @@ isCifs() {
|
|||||||
#then check if the template file is from cifs using df -P filename
|
#then check if the template file is from cifs using df -P filename
|
||||||
#Currently only cifs is supported in hyperv zone.
|
#Currently only cifs is supported in hyperv zone.
|
||||||
mount | grep "type cifs" > /dev/null
|
mount | grep "type cifs" > /dev/null
|
||||||
return $?
|
echo $?
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ "$tflag$nflag$fflag$sflag" != "1111" ]
|
if [ "$tflag$nflag$fflag$sflag" != "1111" ]
|
||||||
@ -204,7 +204,7 @@ rollback_if_needed $tmpltfs $? "tar archives not supported\n"
|
|||||||
|
|
||||||
if [ ${tmpltname%.vhd} != ${tmpltname} ]
|
if [ ${tmpltname%.vhd} != ${tmpltname} ]
|
||||||
then
|
then
|
||||||
if [ isCifs -ne 0 ] ;
|
if [ $(isCifs) -ne 0 ] ;
|
||||||
then
|
then
|
||||||
if which vhd-util &>/dev/null
|
if which vhd-util &>/dev/null
|
||||||
then
|
then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user