Skip to content

Commit 7131bf2

Browse files
lukeseawalkertilne
authored andcommitted
Add flag to run command non-interactively
Signed-off-by: Luca Carrogu <[email protected]>
1 parent a0fe15c commit 7131bf2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

files/default/setup-ephemeral-drives.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ function setup_ephemeral_drives () {
108108
# Setup LVM
109109
RC=0
110110
pvcreate -y $PARTITIONS || RC=1
111-
vgcreate vg.01 $PARTITIONS || RC=1
112-
lvcreate -i $NUM_DEVS -I 64 -l 100%FREE -n lv_ephemeral vg.01 || RC=1
111+
vgcreate -y vg.01 $PARTITIONS || RC=1
112+
lvcreate -y -i $NUM_DEVS -I 64 -l 100%FREE -n lv_ephemeral vg.01 || RC=1
113113
if [ "$cfn_encrypted_ephemeral" == "true" ]; then
114114
modprobe brd || RC=1
115115
mkfs -q /dev/ram1 1024 || RC=1

0 commit comments

Comments
 (0)