This commit is contained in:
kneutron 2024-12-30 17:59:53 -07:00 committed by GitHub
parent 34cd7b3715
commit adabf1224b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,8 +1,16 @@
#!/bin/bash
# this create an lvm-thin with the same naming scheme the proxmox installer uses
# xxx TODO EDITME
target=/dev/sda4
echo '*** YOU NEED TO EDIT THIS SCRIPT BEFORE RUNNING IT ***'
echo '*** AUTHOR IS NOT RESPONSIBLE FOR DATA LOSS!! ***'
echo ''
echo "About to create lvm-thin on $target - Enter to continue or ^C"
read
pvcreate $target
vgcreate -A y pve $target