Revision 835171dc image_creator/disk.py
b/image_creator/disk.py | ||
---|---|---|
210 | 210 |
raise FatalError("No operating system found") |
211 | 211 |
if len(roots) > 1: |
212 | 212 |
raise FatalError("Multiple operating systems found." |
213 |
"We only support images with one filesystem.")
|
|
213 |
"We only support images with one OS.")
|
|
214 | 214 |
self.root = roots[0] |
215 | 215 |
self.guestfs_device = self.g.part_to_dev(self.root) |
216 | 216 |
self.meta['SIZE'] = self.g.blockdev_getsize64(self.guestfs_device) |
Also available in: Unified diff