Add artix destroy script, 2
This commit is contained in:
11
artix_scripts/destroy.sh
Normal file
11
artix_scripts/destroy.sh
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
source env.sh
|
||||||
|
|
||||||
|
umount -R /mnt/
|
||||||
|
cryptsetup close $CRYPT_N
|
||||||
|
lvchange -an $LVM_N/volRoot
|
||||||
|
lvchange -an $LVM_N/volHome
|
||||||
|
swapoff $LVM_N/volSwap
|
||||||
|
lvchange -an $LVM_N/volSwap
|
||||||
|
wipefs -a $DISK
|
||||||
Reference in New Issue
Block a user