proxmox version 7.4.1
execute command:
under /usr/share/lxc/hooks/
test file content below :
	
	
	
		
finally when exec command :
terminal has no content ,and the start job never stopped !
how can i use the script ?
				
			execute command:
echo "lxc.hook.start-host = /usr/share/lxc/hooks/test"  >/usr/share/lxc/config/common.conf.d/03-test.confunder /usr/share/lxc/hooks/
touch testtest file content below :
		Code:
	
	#!/bin/bash
vmid=$1
output=$(lxc-info -n "$vmid" -iH )
echo "$output "
echo " testing \n $vmid  \n host script ..."
exit 0chmod +x testfinally when exec command :
pct start  101 --debugterminal has no content ,and the start job never stopped !
how can i use the script ?
			
				Last edited: 
				
		
	
										
										
											
	
										
									
								 
	