execute passwd -d into chroot seems better
This commit is contained in:
		
							parent
							
								
									a6470df7dc
								
							
						
					
					
						commit
						f7bffb1824
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -4,7 +4,7 @@ printf "Customize hook script for mmdebstrap %s\n\n" "$RECIPE"
 | 
			
		|||
 | 
			
		||||
printf "Remove root password\n"
 | 
			
		||||
#echo "root:root" | chpasswd
 | 
			
		||||
passwd -d root
 | 
			
		||||
chroot $1 passwd -d root
 | 
			
		||||
 | 
			
		||||
printf "Add MNT repository and key\n"
 | 
			
		||||
chroot $1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 376511EB67AD7BAF
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue