|
|
__init__(self,
vm,
size='5G',
preallocated=False,
filename=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
string
|
devletters(self)
Returns:
the series of letters that ought to correspond to the device inside
the VM. |
source code
|
|
|
|
create(self,
directory)
Creates the disk image (unless preallocated), partitions it, creates
the partition mapping devices and mkfs's the partitions |
source code
|
|
|
string
|
|
|
number
|
|
|
|
unmap(self,
ignore_fail=False)
Destroy all mapping devices |
source code
|
|
|
|
|
|
string
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|