Revision ce66ae38 image_creator/os_type/__init__.py
b/image_creator/os_type/__init__.py | ||
---|---|---|
85 | 85 |
self.out = output |
86 | 86 |
self.meta = {} |
87 | 87 |
|
88 |
# Many guestfs compilations don't support scrub |
|
89 |
self._scrub_support = True |
|
90 |
try: |
|
91 |
self.g.available(['scrub']) |
|
92 |
except RuntimeError: |
|
93 |
self._scrub_support = False |
|
94 |
|
|
88 | 95 |
def collect_metadata(self): |
89 | 96 |
"""Collect metadata about the OS""" |
90 | 97 |
try: |
Also available in: Unified diff