mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
vgextend: allow --yes to skip prompt
This commit is contained in:
parent
1a84032322
commit
3f8048f28c
@ -1,5 +1,6 @@
|
||||
Version 2.02.107 -
|
||||
==================================
|
||||
Allow --yes to skip prompt in vgextend (worked only with -f).
|
||||
Don't use name mangling for LVM - it never uses dm names with wrong char set.
|
||||
Remove default.profile and add {command,metadata}_profile_template.profile.
|
||||
Use proper umask for systemd units generated by lvm2-activation-generator.
|
||||
|
@ -102,7 +102,7 @@ int vgextend(struct cmd_context *cmd, int argc, char **argv)
|
||||
|
||||
if (arg_count(cmd, metadataignore_ARG) &&
|
||||
(vg_mda_copies(vg) != VGMETADATACOPIES_UNMANAGED) &&
|
||||
(pp.force == PROMPT) &&
|
||||
(pp.force == PROMPT) && !pp.yes &&
|
||||
yes_no_prompt("Override preferred number of copies "
|
||||
"of VG %s metadata? [y/n]: ",
|
||||
vg_name) == 'n') {
|
||||
|
Loading…
Reference in New Issue
Block a user