From 81e92ce7b72fc8ec1cc59fb2169e6cfcf89013b6 Mon Sep 17 00:00:00 2001 From: medusa Date: Mon, 22 Apr 2024 00:32:17 +0000 Subject: [PATCH] Update docs/tech_docs/OpenWrt.md --- docs/tech_docs/OpenWrt.md | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/docs/tech_docs/OpenWrt.md b/docs/tech_docs/OpenWrt.md index 20a7652..34e42c2 100644 --- a/docs/tech_docs/OpenWrt.md +++ b/docs/tech_docs/OpenWrt.md @@ -150,4 +150,30 @@ pct create 200 /var/lib/vz/template/cache/kali-default-rootfs.tar.xz \ ``` ## Conclusion -Follow these steps to successfully set up and configure OpenWRT, Alpine, and Kali Linux containers on Proxmox. Adjust configurations according to your specific needs and ensure all passwords are secure before deploying containers in a production environment. \ No newline at end of file +Follow these steps to successfully set up and configure OpenWRT, Alpine, and Kali Linux containers on Proxmox. Adjust configurations according to your specific needs and ensure all passwords are secure before deploying containers in a production environment. + +```bash +pct create 100 /var/lib/vz/template/cache/openwrt-rootfs.tar.xz \ +--unprivileged 1 --arch amd64 --ostype unmanaged --hostname openwrt-0 \ +--password --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 +``` + +```bash +pct create 200 /var/lib/vz/template/cache/kali-default-rootfs.tar.xz \ +--unprivileged 1 --arch amd64 --ostype debian --hostname kali-0 \ +--password --tag tools --storage local-lvm --cores 2 \ +--memory 2048 --swap 1024 --rootfs local-lvm:1,size=10G \ +--net0 name=eth0,bridge=vmbr0,firewall=1 --cpuunits 1500 --onboot 1 \ +--debug 0 --features nesting=1,keyctl=1 +``` + +```bash +pct create 300 /var/lib/vz/template/cache/alpine-rootfs.tar.xz \ +--unprivileged 1 --arch amd64 --ostype alpine --hostname alpine-0 \ +--password --tag docker --storage local-lvm --cores 2 \ +--memory 1024 --swap 256 --rootfs local-lvm:1,size=8G \ +--net0 name=eth0,bridge=vmbr0,firewall=1 --keyctl 1 --nesting 1 \ +--cpuunits 1000 --onboot 1 --debug 0 +``` \ No newline at end of file