From 83ec7c872a45d9aed2d349380ab61fa8488c8f11 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 13 Jul 2019 22:31:28 +0200 Subject: [PATCH] network --- in/private/server/index.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/in/private/server/index.rst b/in/private/server/index.rst index 4377048..fcac2e2 100644 --- a/in/private/server/index.rst +++ b/in/private/server/index.rst @@ -117,6 +117,7 @@ Prepare a grub.cfg * /etc/locale.gen * locale-gen * /etc/resolv.conf +* /etc/apt/sources.list * apt update * apt upgrade * apt install openssh-server @@ -124,3 +125,18 @@ Prepare a grub.cfg * /etc/ssh/sshd_config * mkdir /root/.ssh * echo "ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBAFBp8vFUIRu4Bq8EvnCGwlp71GQ4wGT5wKdY1X/c9AfYjsn/pnBNgnfNFxPxoNasG1MXeXjutSLtlXqnsWx2NQpFQC321MeUvd3Z/DCeIvS4WvpOZMyBvVUd2sTsuuCRVuH3fbJF5XPJrFzH3nEFNtcW7lmN+F6nKLB0kYahc3+gyTH+g==" > /root/.ssh/authorized_keys +* /etc/network/interfaces.d/setup + +:: + + auto lo + iface lo inet loopback + iface lo inet6 loopback + + auto eth0 + iface eth0 inet static + address 192.99.14.98/24 + gateway 192.99.14.254 + iface eth0 inet6 static + address 2607:5300:60:3f62::1/64 + gateway 2607:5300:60:3fff:ff:ff:ff:ff