APEX: fix permission for rm in iso verify 47/35147/1
authorFeng Pan <fpan@redhat.com>
Mon, 22 May 2017 15:43:20 +0000 (11:43 -0400)
committerFeng Pan <fpan@redhat.com>
Mon, 22 May 2017 15:43:20 +0000 (11:43 -0400)
Change-Id: Icbecbb39465a3cf4ef4ea3e8f5901561a4874c51
Signed-off-by: Feng Pan <fpan@redhat.com>
jjb/apex/apex-iso-verify.sh

index dbd5c87..5378a90 100755 (executable)
@@ -30,7 +30,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