Forget the shebang for the initramfs-tools script…
This commit is contained in:
parent
c99acc90d7
commit
9059a9930c
6
templates/hypervisor/initramfs-lvm-manual.erb
Normal file → Executable file
6
templates/hypervisor/initramfs-lvm-manual.erb
Normal file → Executable file
@ -1,9 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Ensure to detect all LV
|
||||
/sbin/lvm pvscan
|
||||
/sbin/lvm vgscan
|
||||
/sbin/lvm vgchange -ay
|
||||
|
||||
echo "Wait for 2s"
|
||||
sleep 2
|
||||
echo "Wait for 5s"
|
||||
sleep 5
|
||||
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user