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
|
# Ensure to detect all LV
|
||||||
/sbin/lvm pvscan
|
/sbin/lvm pvscan
|
||||||
/sbin/lvm vgscan
|
/sbin/lvm vgscan
|
||||||
/sbin/lvm vgchange -ay
|
/sbin/lvm vgchange -ay
|
||||||
|
|
||||||
echo "Wait for 2s"
|
echo "Wait for 5s"
|
||||||
sleep 2
|
sleep 5
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user