9GB sparse disk image to accommodate 10.15.4

Addresses this issue:
https://github.com/munki/macadmin-scripts/issues/46
This commit is contained in:
aysiu 2020-03-24 18:57:01 -07:00 committed by GitHub
parent b476cc0122
commit fa22d97c9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,7 +128,7 @@ def get_default_catalog():
def make_sparse_image(volume_name, output_path): def make_sparse_image(volume_name, output_path):
'''Make a sparse disk image we can install a product to''' '''Make a sparse disk image we can install a product to'''
cmd = ['/usr/bin/hdiutil', 'create', '-size', '8g', '-fs', 'HFS+', cmd = ['/usr/bin/hdiutil', 'create', '-size', '9g', '-fs', 'HFS+',
'-volname', volume_name, '-type', 'SPARSE', '-plist', output_path] '-volname', volume_name, '-type', 'SPARSE', '-plist', output_path]
try: try:
output = subprocess.check_output(cmd) output = subprocess.check_output(cmd)