~darkmuggle-deactivatedaccount/junk/virtualbox_test

« back to all changes in this revision

Viewing changes to jenkins/CloudImages_Vagrant.sh

  • Committer: Ben Howard
  • Date: 2013-01-18 18:52:18 UTC
  • Revision ID: ben.howard@canonical.com-20130118185218-2lndhz0a3zjhjftt
Allow Vagrant image rebuilds via flag

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
box_name="${disk_working//.img/.box}"
24
24
raw_f="${WORKSPACE}/raw_f-$(date +%s).img"
25
25
 
26
 
[ -e "${final_location}" ] && exit 0
 
26
[ -e "${final_location}" -a "${REBUILD}" != "true" ] && exit 0
27
27
 
28
28
cp "${disk_root}/${disk_orig}" "${disk_working}" ||
29
29
    fail "Unable to copy ${disk_orig} from ${disk_root}"