rewrote parts of the OS install guide

This commit is contained in:
LUXEY Adrien 2021-04-11 17:05:18 +02:00
parent c1d785fde4
commit 1759f7987e
2 changed files with 31 additions and 4 deletions

View File

@ -207,10 +207,22 @@ We use GPT partition table layout (without UEFI), which demands a small `bios_gr
* Fill in network-related files
Beware of your ethernet interface name! It's only after failing with `eth0` that the boot logs informed me that the iface name was `eno1`.
`/etc/sysctl.d/10-ipv6`
Disable IPv6 auto-configuration
```bash
cat << EOF > /etc/sysctl.d/10-ipv6
net.ipv6.conf.all.autoconf=0
net.ipv6.conf.all.accept_ra=0
EOF
```
`/etc/network/interfaces`
Beware of your ethernet interface name! It's only after failing with `eth0` that the boot logs informed me that the iface name was `eno1`.
```bash
cat << EOF > /etc/network/interfaces
######################################################################
@ -223,12 +235,28 @@ We use GPT partition table layout (without UEFI), which demands a small `bios_gr
auto lo
iface lo inet loopback
# eno1 through DHCP
# eno1
auto eno1
iface eno1 inet dhcp
allow-hotplug eno1
iface eno1 inet static
address 5.135.179.11
netmask 255.255.255.0
gateway 5.135.179.254
iface eno1 inet6 static
address 2001:41d0:8:ba0b::1
netmask 128
post-up /sbin/ip -f inet6 route add 2001:41d0:8:baff:ff:ff:ff:ff dev eno1
post-up /sbin/ip -f inet6 route add default via 2001:41d0:8:baff:ff:ff:ff:ff
pre-down /sbin/ip -f inet6 route del 2001:41d0:8:baff:ff:ff:ff:ff dev eno1
pre-down /sbin/ip -f inet6 route del default via 2001:41d0:8:baff:ff:ff:ff:ff
EOF
```
[This OVH IPv6 guide](https://docs.ovh.com/gb/en/dedicated/network-ipv6/) might help you out for the IPv6 part.
`/etc/resolv.conf`
```bash

View File

@ -6,7 +6,6 @@ version: '3'
services:
site:
# build: site
image: gitea/gitea:{{ gitea.version }}
restart: always
environment: