mirror of
				https://github.com/flynx/proxmox-utils.git
				synced 2025-10-31 04:00:08 +00:00 
			
		
		
		
	testing...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									29c236c134
								
							
						
					
					
						commit
						5454a5ab2b
					
				| @ -92,7 +92,8 @@ sleep ${TIMEOUT:=5} | |||||||
| # 	https://www.turnkeylinux.org/docs/inithooks | # 	https://www.turnkeylinux.org/docs/inithooks | ||||||
| 
 | 
 | ||||||
| printf "# TKL setup, this may take a while" | printf "# TKL setup, this may take a while" | ||||||
| while ! $(lxc-attach $ID -- test -e /etc/inithooks.conf) ; do | while ! $(lxc-attach $ID -- test -e /etc/inithooks.conf) \ | ||||||
|  | 		&& [[ $(lxc-attach $ID -- cat /etc/inithooks.conf | wc -c) > 2 ]] ; do | ||||||
| 	printf '.' | 	printf '.' | ||||||
| 	sleep 2 | 	sleep 2 | ||||||
| done | done | ||||||
| @ -101,6 +102,8 @@ echo | |||||||
| echo "# Starting TKL Setup (this may take a few minutes to start)..." | echo "# Starting TKL Setup (this may take a few minutes to start)..." | ||||||
| @ lxc-attach $ID -- bash --login -c 'exit' | @ lxc-attach $ID -- bash --login -c 'exit' | ||||||
| 
 | 
 | ||||||
|  | exit | ||||||
|  | 
 | ||||||
| # XXX the CT will reboot -- wait... | # XXX the CT will reboot -- wait... | ||||||
| 
 | 
 | ||||||
| ##@ lxc-attach $ID -- /usr/sbin/trunkey-init | ##@ lxc-attach $ID -- /usr/sbin/trunkey-init | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user