rewrote parts of the OS install guide
This commit is contained in:
parent
c1d785fde4
commit
1759f7987e
2 changed files with 31 additions and 4 deletions
|
@ -207,10 +207,22 @@ We use GPT partition table layout (without UEFI), which demands a small `bios_gr
|
||||||
|
|
||||||
* Fill in network-related files
|
* 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`
|
`/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
|
```bash
|
||||||
cat << EOF > /etc/network/interfaces
|
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
|
auto lo
|
||||||
iface lo inet loopback
|
iface lo inet loopback
|
||||||
|
|
||||||
# eno1 through DHCP
|
# eno1
|
||||||
auto 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
|
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`
|
`/etc/resolv.conf`
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
|
@ -6,7 +6,6 @@ version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
site:
|
site:
|
||||||
# build: site
|
|
||||||
image: gitea/gitea:{{ gitea.version }}
|
image: gitea/gitea:{{ gitea.version }}
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in a new issue