From 2d9f65c0923207e1bf99d57d7bda77aff6d7d1b3 Mon Sep 17 00:00:00 2001 From: medusa Date: Fri, 19 Apr 2024 05:00:23 +0000 Subject: [PATCH] Update docs/tech_docs/linux_lab_starting.md --- docs/tech_docs/linux_lab_starting.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/tech_docs/linux_lab_starting.md b/docs/tech_docs/linux_lab_starting.md index 0aceae7..a249cec 100644 --- a/docs/tech_docs/linux_lab_starting.md +++ b/docs/tech_docs/linux_lab_starting.md @@ -5,15 +5,15 @@ Here's the updated response with the additional information on installing packag Use the following command to create a new container with reduced memory and storage: ```bash -pct create 101 /var/lib/vz/template/cache/openwrt-rootfs.tar.xz --unprivileged 1 --arch amd64 --ostype unmanaged --hostname openwrt-0 --storage local-lvm --memory 128 --swap 0 --rootfs local-lvm:2,size=1G \ +pct create 100 /var/lib/vz/template/cache/openwrt-rootfs.tar.xz --unprivileged 1 --arch amd64 --ostype unmanaged --hostname openwrt-0 --tag network --storage local-lvm --memory 128 --swap 0 --rootfs local-lvm:2,size=1G \ --net0 name=eth0,bridge=vmbr0,firewall=1 \ --net1 name=eth1,bridge=vmbr1,firewall=1 ``` -Key changes: -- Reduced memory to 128MB (`--memory 128`) -- Disabled swap (`--swap 0`) -- Reduced rootfs size to 1GB (`--rootfs local-lvm:2,size=1G`) +```bash +pct create 200 /var/lib/vz/template/cache/kali-default-rootfs.tar.xz --unprivileged 1 --arch amd64 --ostype debian --hostname kali-0 --storage local-lvm --memory 1024 --swap 512 --rootfs local-lvm:2,size=8G --net0 name=eth0,bridge=vmbr0,firewall=1 --net1 name=eth1,bridge=vmbr1,firewall=1 +``` + ### OpenWRT Firewall Configuration