mirror of
				https://github.com/tteck/Proxmox.git
				synced 2025-10-30 18:39:10 +00:00 
			
		
		
		
	Update iventoy-install.sh
create `data` and `iso` directories.
This commit is contained in:
		
							parent
							
								
									1b842f22cf
								
							
						
					
					
						commit
						0cd751d75c
					
				| @ -21,7 +21,7 @@ msg_ok "Installed Dependencies" | ||||
| 
 | ||||
| RELEASE=$(curl -s https://api.github.com/repos/ventoy/pxe/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') | ||||
| msg_info "Installing iVentoy v${RELEASE}" | ||||
| mkdir -p /opt/iventoy/ | ||||
| mkdir -p /opt/iventoy/{data,iso} | ||||
| wget -q https://github.com/ventoy/PXE/releases/download/v${RELEASE}/iventoy-${RELEASE}-linux-free.tar.gz | ||||
| tar -C /tmp -xzf iventoy*.tar.gz | ||||
| mv /tmp/iventoy*/* /opt/iventoy/ | ||||
| @ -55,4 +55,4 @@ customize | ||||
| msg_info "Cleaning up" | ||||
| $STD apt-get -y autoremove | ||||
| $STD apt-get -y autoclean | ||||
| msg_ok "Cleaned" | ||||
| msg_ok "Cleaned" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user