Update docs/tech_docs/OpenWrt.md
This commit is contained in:
@@ -36,17 +36,28 @@ This section details the process of setting up an OpenWRT container in a Proxmox
|
||||
```bash
|
||||
# Create and configure the OpenWRT container
|
||||
pct create 100 /var/lib/vz/template/cache/openwrt-rootfs.tar.xz --unprivileged 1 --arch amd64 --ostype unmanaged --hostname openwrt-0 --password changeme --tag network --storage local-lvm --memory 256 --swap 128 --rootfs local-lvm:1,size=512M --net0 name=eth0,bridge=vmbr0,firewall=1 --net1 name=eth1,bridge=vmbr1,firewall=1 --cores 1 --cpuunits 500 --onboot 1 --debug 0
|
||||
```
|
||||
|
||||
# Start the container
|
||||
```bash
|
||||
pct start 100
|
||||
```
|
||||
|
||||
# Access the container's console
|
||||
pct console 100
|
||||
|
||||
# Update and install packages
|
||||
```bash
|
||||
opkg update
|
||||
```
|
||||
|
||||
```bash
|
||||
opkg install qemu-ga
|
||||
```
|
||||
|
||||
```bash
|
||||
reboot
|
||||
```
|
||||
|
||||
# Network and firewall configuration
|
||||
|
||||
|
||||
Reference in New Issue
Block a user