Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ej52/proxmox-scripts
https://github.com/ej52/proxmox-scripts
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ej52/proxmox-scripts
- Owner: ej52
- License: mit
- Created: 2020-11-04T16:22:49.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-05T23:23:19.000Z (7 months ago)
- Last Synced: 2024-12-02T05:51:31.538Z (11 days ago)
- Language: Shell
- Size: 72.3 KB
- Stars: 596
- Watchers: 21
- Forks: 308
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
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 ` -- ` like:
```bash
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
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](https://github.com/ej52/proxmox/tree/main/apps/nginx-proxy-manager)
## Thanks
- [whiskerz007](https://github.com/whiskerz007?tab=repositories)