fix: output error command from image import
This commit is contained in:
@@ -96,7 +96,7 @@ function VMImport {
|
|||||||
echo "Downloading and importing XVA image..."
|
echo "Downloading and importing XVA image..."
|
||||||
echo
|
echo
|
||||||
|
|
||||||
uuid=$(curl "$IMAGE_URL" | xe vm-import filename=/dev/stdin 2>/dev/null)
|
uuid=$(curl "$IMAGE_URL" | xe vm-import filename=/dev/stdin)
|
||||||
|
|
||||||
if [[ $? != "0" ]]; then
|
if [[ $? != "0" ]]; then
|
||||||
echo "Import failed"
|
echo "Import failed"
|
||||||
|
Reference in New Issue
Block a user