Revision 663f5f80 image_creator/disk.py
b/image_creator/disk.py | ||
---|---|---|
114 | 114 |
instance. |
115 | 115 |
""" |
116 | 116 |
|
117 |
self.out.output("Examining source media `%s'..." % self.source, False) |
|
117 |
self.out.output("Examining source media `%s' ..." % self.source, False)
|
|
118 | 118 |
sourcedev = self.source |
119 | 119 |
mode = os.stat(self.source).st_mode |
120 | 120 |
if stat.S_ISDIR(mode): |
... | ... | |
261 | 261 |
|
262 | 262 |
mount = self.g.mount_ro if readonly else self.g.mount |
263 | 263 |
msg = " read-only" if readonly else "" |
264 |
self.out.output("Mounting the media%s..." % msg, False) |
|
264 |
self.out.output("Mounting the media%s ..." % msg, False)
|
|
265 | 265 |
mps = self.g.inspect_get_mountpoints(self.root) |
266 | 266 |
|
267 | 267 |
# Sort the keys to mount the fs in a correct order. |
... | ... | |
340 | 340 |
|
341 | 341 |
MB = 2 ** 20 |
342 | 342 |
|
343 |
self.out.output("Shrinking image (this may take a while)...", False) |
|
343 |
self.out.output("Shrinking image (this may take a while) ...", False)
|
|
344 | 344 |
|
345 | 345 |
sector_size = self.g.blockdev_getss(self.guestfs_device) |
346 | 346 |
|
Also available in: Unified diff