master - dbus: Add --yes when --setphysicalvolumesize is used
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=7da13bbf7baf161d275cc14fe1e5c97c50229e60 Commit: 7da13bbf7baf161d275cc14fe1e5c97c50229e60 Parent: 15eaf703fcfc548ff687a07002f35b06f9fd8c7d Author: Marian Csontos <[email protected]> AuthorDate: Fri Apr 28 16:47:58 2017 +0200 Committer: Marian Csontos <[email protected]> CommitterDate: Tue May 2 08:42:21 2017 +0200
dbus: Add --yes when --setphysicalvolumesize is used
--- daemons/lvmdbusd/cmdhandler.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
daemons/lvmdbusd/cmdhandler.py +1 -1
@@ -553,7 +553,7 @@ def pv_resize(device, size_bytes, create_options): cmd.extend(options_to_cli_args(create_options)) if size_bytes != 0: - cmd.extend(['--setphysicalvolumesize', str(size_bytes) + 'B']) + cmd.extend(['--yes', '--setphysicalvolumesize', str(size_bytes) + 'B']) cmd.extend([device]) return call(cmd)