Initial commit
This commit is contained in:
		
							
								
								
									
										2
									
								
								LICENSE
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								LICENSE
									
									
									
									
									
								
							| @@ -1,6 +1,6 @@ | |||||||
| MIT License | MIT License | ||||||
|  |  | ||||||
| Copyright (c) 2020 whiskerz007 | Copyright (c) 2021 sthope | ||||||
|  |  | ||||||
| Permission is hereby granted, free of charge, to any person obtaining a copy | Permission is hereby granted, free of charge, to any person obtaining a copy | ||||||
| of this software and associated documentation files (the "Software"), to deal | of this software and associated documentation files (the "Software"), to deal | ||||||
|   | |||||||
| @@ -138,7 +138,7 @@ else | |||||||
|   mkfs.ext4 $(pvesm path $ROOTFS) &>/dev/null |   mkfs.ext4 $(pvesm path $ROOTFS) &>/dev/null | ||||||
| fi | fi | ||||||
| ARCH=$(dpkg --print-architecture) | ARCH=$(dpkg --print-architecture) | ||||||
| HOSTNAME=portainer | HOSTNAME=Portainer | ||||||
| TEMPLATE_STRING="local:vztmpl/${TEMPLATE}" | TEMPLATE_STRING="local:vztmpl/${TEMPLATE}" | ||||||
| pct create $CTID $TEMPLATE_STRING -arch $ARCH -features nesting=1 \ | pct create $CTID $TEMPLATE_STRING -arch $ARCH -features nesting=1 \ | ||||||
|   -hostname $HOSTNAME -net0 name=eth0,bridge=vmbr0,ip=dhcp -onboot 1 \ |   -hostname $HOSTNAME -net0 name=eth0,bridge=vmbr0,ip=dhcp -onboot 1 \ | ||||||
| @@ -173,7 +173,6 @@ info "Successfully created LXC to $CTID." | |||||||
| msg " | msg " | ||||||
|  |  | ||||||
| Enjoy! | Enjoy! | ||||||
|  |  | ||||||
|       Portainer: http://${IP}:9000 |       Portainer: http://${IP}:9000 | ||||||
|  |  | ||||||
| " | " | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user