From c92d4c59383aec32aa99506903d7d651bf11fdc5 Mon Sep 17 00:00:00 2001 From: Antony Messerli Date: Mon, 16 Oct 2017 15:56:54 -0500 Subject: [PATCH] Update readme to use force flag instead echo y seems to still prompt for each volume when using -f will complete the action without prompting. Change-Id: Ic8231817656e2093e53e0bfcd1fd5e72bd8181b2 --- multi-node-aio/README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multi-node-aio/README.rst b/multi-node-aio/README.rst index f93e6f30..3e9de5ae 100644 --- a/multi-node-aio/README.rst +++ b/multi-node-aio/README.rst @@ -169,7 +169,7 @@ cycle through all found VMs and re-provision them. for VM_NAME in $(virsh list --all | awk '/running/ || /shut/ {print $2}'); do virsh destroy "${VM_NAME}" - echo y | lvremove "/dev/mapper/vg01-${VM_NAME}" + lvremove -f "/dev/mapper/vg01-${VM_NAME}" lvcreate -L 92160M vg01 -n "${VM_NAME}" virsh start "${VM_NAME}" done