Revision 67f9d8f6 util/vm/build.py

View differences:

util/vm/build.py
35 35
from subprocess import check_output, call, Popen
36 36
from tempfile import mkdtemp
37 37
from time import time, strftime, localtime
38
from lxml import etree
39 38
import argparse
40 39

  
41 40
pexpect = None  # For code check - imported dynamically
......
514 513
    vm = boot( volume, kernel, initrd, logfile )
515 514
    interact( vm )
516 515
    vmdk = convert( volume, basename=flavor )
516
    log( '* Removing qcow2 volume', volume )
517
    os.remove( volume )
517 518
    log( '* Converted VM image stored as', abspath( vmdk ) )
518 519
    end = time()
519 520
    elapsed = end - start

Also available in: Unified diff