We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71db760 commit 655faf3Copy full SHA for 655faf3
1 file changed
lib/utils.py
@@ -45,7 +45,7 @@ def create_disk(image, disk_type, fs_type, size, bootable=False, mkfs_args=None)
45
offset = str(1024 * 1024 * (1024 if bootable else 1))
46
run('parted', '--script', image, 'mklabel', disk_type, 'mkpart',
47
'primary', fs_type, offset + 'B', '100%')
48
- run('mkfs.' + fs_type, image, '-E', 'offset=' + offset, *mkfs_args)
+ run('mkfs.' + fs_type, '-E', 'offset=' + offset, *mkfs_args, image)
49
50
def mount(source, target, fs_type, options='', **kwargs):
51
"""Mount filesystem"""
0 commit comments