Skip to content

Latest commit

 

History

History
64 lines (45 loc) · 3.24 KB

README.md

File metadata and controls

64 lines (45 loc) · 3.24 KB

Proxmox scripts

Some useful proxmox scripts...

Usage

To create a new LXC container on Proxmox and setup a app to run inside of it, run the following in a SSH connection or the Proxmox web shell.

Tested with: proxmox 7.1+, alpine 3.12+, debian 11+, Ubuntu 18+

bash -c "$(wget --no-cache -qO- https://raw.githubusercontent.com/ej52/proxmox/main/create.sh)"

Command line arguments

argument default description
--app none application to install
--id $nextid container id
--os alpine OS distribution to install
--os-version latest OS version to install
--bridge vmbr0 bridge used for eth0
--cores 1 number of cpu cores
--disksize 4 size of disk in GB
--hostname value of --app hostname of the container
--memory 512 amount of memory
--storage local-lvm storage location for container disk
--templates local storage location for templates
--swap 0 amount of SWAP
--cleanup false Remove dev dependencies after install

you can set these parameters by appending -- <parameter> <value> like:

bash -c "$(wget --no-cache -qO- https://raw.githubusercontent.com/ej52/proxmox/main/create.sh)" -s --app nginx-proxy-manager --cleanup

Console

There is no login required to access the console from the Proxmox web UI. If you are presented with a blank screen, press CTRL + C to generate a prompt.

Alternative Usage

If you are not using proxmox or want to install a app on a existing install, you can run the setup script itself.

Note: Only Alpine, Debian and Ubuntu are currently supported

sh -c "$(wget --no-cache -qO- https://raw.githubusercontent.com/ej52/proxmox/main/install.sh)" -s --app nginx-proxy-manager

Command line arguments

argument default description
--app none application to install
--cleanup false Remove dev dependencies after install

Applications

Nginx Proxy Manager

Thanks