mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Add files via upload
This commit is contained in:
		
							parent
							
								
									d29f2ea7d7
								
							
						
					
					
						commit
						5767d3b08a
					
				| 
						 | 
					@ -63,7 +63,7 @@ HOOK_SCRIPT=${HOOK_SCRIPT//$'\n'/}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
CTID=$1
 | 
					CTID=$1
 | 
				
			||||||
CTID_CONFIG_PATH=/etc/pve/lxc/${CTID}.conf
 | 
					CTID_CONFIG_PATH=/etc/pve/lxc/${CTID}.conf
 | 
				
			||||||
sed '/autodev/d' $CTID_CONFIG_PATH >CTID.conf
 | 
					sed '/autodev/d', '/devices/d', '/cap/d' $CTID_CONFIG_PATH >CTID.conf
 | 
				
			||||||
cat CTID.conf >$CTID_CONFIG_PATH
 | 
					cat CTID.conf >$CTID_CONFIG_PATH
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cat <<EOF >> $CTID_CONFIG_PATH
 | 
					cat <<EOF >> $CTID_CONFIG_PATH
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue