Merge "Add daisy to reporting"
[releng.git] / jjb / apex / apex-iso-verify.sh
index dbd5c87..f102421 100755 (executable)
@@ -8,8 +8,6 @@ echo "Starting the Apex iso verify."
 echo "--------------------------------------------------------"
 echo
 
-BUILD_DIRECTORY=$WORKSPACE/../$BUILD_DIRECTORY
-
 source $BUILD_DIRECTORY/../opnfv.properties
 
 if ! rpm -q virt-install > /dev/null; then
@@ -30,7 +28,7 @@ fi
 rm_apex_iso_verify
 
 #make sure there is not an existing console log file for the VM
-rm -f /var/log/libvirt/qemu/apex-iso-verify-console.log
+sudo rm -f /var/log/libvirt/qemu/apex-iso-verify-console.log
 
 # run an install from the iso
 # This streams a serial console to tcp port 3737 on localhost