├── README.md └── squeekyopenwrt.sh /README.md: -------------------------------------------------------------------------------- 1 | # proxmoxwrt 2 | A simple shell script with wizard to get you OpenWRT for Proxmox. 3 | 4 | The fastest way to run this is the following: 5 | 6 | wget https://raw.githubusercontent.com/squeekymouse89/proxmoxwrt/main/squeekyopenwrt.sh && bash squeekyopenwrt.sh 7 | 8 | The script will ask you a few simple questions. 9 | 1. Where is the url for the rootfs you want to use (guidance given in the script) 10 | 2. The container number you want to use 11 | 3. The container name you want in proxmox 12 | 4. It will delete itself and the downloaded openwrt rootfs when completed. 13 | -------------------------------------------------------------------------------- /squeekyopenwrt.sh: -------------------------------------------------------------------------------- 1 | echo Specify the rootfs.tar.xz that you want to use from: 2 | echo https://images.linuxcontainers.org/images/openwrt/ 3 | read -p 'Full URL: ' url 4 | read -p 'Container ID Number: ' number 5 | read -p 'Container Name: ' name 6 | wget $url -O /tmp/squeekysopenwrtrootfs.tar.xz 7 | pct create $number /tmp/squeekysopenwrtrootfs.tar.xz --ostype unmanaged --hostname $name -net0 name=eth0 -net1 name=eth1 8 | rm /tmp/squeekysopenwrtrootfs.tar.xz 9 | clear 10 | echo You can now find $name in the Proxmox Web UI and finish configuration. Please ensure you check your cpu, ram and nic settings. Two NICS have been created but not assigned to any interfaces. Enjoy ! 11 | rm squeekyopenwrt.sh 12 | 13 | 14 | --------------------------------------------------------------------------------