mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
Add -F flag to mkfs to avoid prompt to proceed.
This commit is contained in:
parent
3e2663b3bd
commit
5aa58e34e0
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ class Generator():
|
|||
mkfs_args = ['-d', os.path.join(target.path, 'external')]
|
||||
target.add_disk("external", filesystem="ext3", mkfs_args=mkfs_args)
|
||||
elif using_kernel:
|
||||
mkfs_args = ['-d', os.path.join(target.path, 'disk')]
|
||||
mkfs_args = ['-F', '-d', os.path.join(target.path, 'disk')]
|
||||
target.add_disk("disk",
|
||||
filesystem="ext3",
|
||||
size=(str(target_size) + "M") if target_size else "16G",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue