bootstrap-vz/base/bootstrapinfo.py
Anders Ingemann 59bae6e497 Create unique identifier in BootstrapInformation
Can be used to uniquely name temporary resources
2013-07-13 15:12:46 +02:00

8 lines
191 B
Python

class BootstrapInformation(object):
def __init__(self, manifest=None, debug=False):
self.manifest = manifest
self.debug = debug
import random
self.run_id = random.randrange(16**8)