diff --git a/install.sh b/install.sh index f95a95d..8121829 100644 --- a/install.sh +++ b/install.sh @@ -111,8 +111,7 @@ sleep 5; echo -e "$LXC_PWD\n$LXC_PWD" | lxc-attach -n$LXC_NBR passwd; lxc-attach -n$LXC_NBR mkdir /root/.ssh; echo -e "$LXC_AUTHORIZED_KEY" | lxc-attach -n$LXC_NBR tee /root/.ssh/authorized_keys; -# usually not needed after adding authorized_keys: -# lxc-attach -n$LXC_NBR systemctl restart ssh.service +pct push $LXC_NBR ./sources.list /etc/apt/sources.list pct push $LXC_NBR ./zamba.conf /root/zamba.conf pct push $LXC_NBR ./$opt.sh /root/$opt.sh echo "Install '$opt'!" diff --git a/sources.list b/sources.list new file mode 100644 index 0000000..aa474ae --- /dev/null +++ b/sources.list @@ -0,0 +1,6 @@ +deb http://ftp.de.debian.org/debian buster main contrib + +deb http://ftp.de.debian.org/debian buster-updates main contrib + +# security updates +deb http://security.debian.org buster/updates main contrib \ No newline at end of file