~ubuntu-virt/ubuntu-jeos/intrepid

« back to all changes in this revision

Viewing changes to vms/qemu-common

  • Committer: Nick Barcet
  • Date: 2008-05-26 20:08:56 UTC
  • Revision ID: nick.barcet@canonical.com-20080526200856-t5y0scp19sgjbnjp
 * restore $TMPDIR default behavior as requested by soren
 * --tmp - allows to place it in the same diectory as destination
 * change ! -z to -n

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
 
40
40
        if [ -n "$LIBVIRT" ]
41
41
        then
42
 
                LIBVIRTXML=`mktemp -p $TMPDIR vm-builder-XXXXXXXXXX` || exit 1
 
42
                LIBVIRTXML=`mktemp -p $VMTMPDIR vm-builder-XXXXXXXXXX` || exit 1
43
43
                LIBVIRTNAME="$VMHOSTNAME"
44
44
                MAC="52:54:00$(hexdump -e '/1 ":%02x"' -n 3 /dev/urandom)"
45
45