wip
This commit is contained in:
		
							parent
							
								
									3e7a4434be
								
							
						
					
					
						commit
						1336848e9e
					
				
					 1 changed files with 6 additions and 5 deletions
				
			
		
							
								
								
									
										11
									
								
								entry.sh
									
										
									
									
									
								
							
							
						
						
									
										11
									
								
								entry.sh
									
										
									
									
									
								
							|  | @ -11,11 +11,6 @@ function first_stage(){ | |||
| 	echo -n luks_password:  | ||||
| 	read -s luks_password | ||||
| 	 | ||||
| 	if [[ -b /dev/mapper/cryptlvm ]]; then | ||||
| 		cryptsetup luksClose cryptlvm | ||||
| 	fi | ||||
| 	 | ||||
| 	wipefs -a ${DEVICE} | ||||
| 	 | ||||
| 	lsblk -ftpo NAME,FSTYPE,LABEL,UUID,FSAVAIL,MOUNTPOINT | ||||
| 	select DEVICE in $(lsblk -frpno NAME); do | ||||
|  | @ -23,6 +18,12 @@ function first_stage(){ | |||
| 	break | ||||
| 	done | ||||
| 	 | ||||
| 	if [ -b /dev/mapper/cryptlvm ]; then | ||||
| 		cryptsetup luksClose cryptlvm | ||||
| 	fi | ||||
| 	 | ||||
| 	wipefs -a ${DEVICE} | ||||
| 	 | ||||
| 	( | ||||
| 	echo o | ||||
| 	echo n | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue