Skip to content
Snippets Groups Projects
Unverified Commit 95a2d38e authored by anarcat's avatar anarcat
Browse files

go back to reviewing the interfaces configuration

Normally, the --defaultinterfaces command *should* setup a proper file
for us, including automatic config for eth0. Let's see if it works
next time.
parent e3567fd6
No related branches found
No related tags found
No related merge requests found
......@@ -100,32 +100,6 @@ which we'll use below.
mkdir /target/boot
mount "$BOOT_PARTITION" /target/boot
4. Review the network configuration, since it will end up in the
installed instance:
cat /target/etc/network/interfaces
An example safe configuration is:
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet dhcp
The latter two lines usually need to be added as they are missing
from Hetzner rescue shells:
cat >> /etc/network/interfaces <<EOF
allow-hotplug eth0
iface eth0 inet dhcp
EOF
TODO: fix this in a post-install debootstrap hook, or in
grml-debootstrap already, see also [upstream issue 105](https://github.com/grml/grml-debootstrap/issues/105) and
[issue 136](https://github.com/grml/grml-debootstrap/issues/136).
4. Install the system. This can be done with `grml-debootstrap` which
will also configure grub, a root password and so on. This should
get you started, assuming the formatted root disk is mounted on
......@@ -232,6 +206,32 @@ which we'll use below.
chroot /target grub-install /dev/nvme1n1
12. Review the network configuration, since it will end up in the
installed instance:
cat /target/etc/network/interfaces
An example safe configuration is:
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet dhcp
The latter two lines usually need to be added as they are missing
from Hetzner rescue shells:
cat >> /etc/network/interfaces <<EOF
allow-hotplug eth0
iface eth0 inet dhcp
EOF
TODO: fix this in a post-install debootstrap hook, or in
grml-debootstrap already, see also [upstream issue 105](https://github.com/grml/grml-debootstrap/issues/105) and
[issue 136](https://github.com/grml/grml-debootstrap/issues/136).
13. If any of those latter things changed, you need to regenerate the
initramfs:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment