Simple script to convert any gnu/linux machine into a proxmox lxc container

Hi,

the new container will be the size of /** excluding:
–exclude=“sys”
–exclude=“dev”
–exclude=“proc”
–exclude=".log"
–exclude="
.log*"
–exclude=".gz"
–exclude="
.sql"
–exclude=“swap.img” \

After the proxmox tools ‘pct’ has imported the resulting tar, it’s just a lxc container including the ./apparmor and ./config. The containers are located at ‘/var/lib/lxc/{machineId}’.

i hope i could answer your questions adequately.

: )

1 Like