From 8a4ecef1c801a66ce73720a962678473ec562e9e Mon Sep 17 00:00:00 2001 From: Andrey Prokopenko <9478806+andrey42@users.noreply.github.com> Date: Sat, 14 Mar 2020 15:41:33 +0100 Subject: [PATCH] removed ip6 --- virtualbox-debian10-zfs-setup.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/virtualbox-debian10-zfs-setup.sh b/virtualbox-debian10-zfs-setup.sh index 122dac2..2fdc5c8 100644 --- a/virtualbox-debian10-zfs-setup.sh +++ b/virtualbox-debian10-zfs-setup.sh @@ -618,7 +618,7 @@ ff02::2 ip6-allrouters ff02::3 ip6-allhosts CONF -ip6addr_prefix=$(ip -6 a s | grep -E "inet6.+global" | sed -nE 's/.+inet6\s(([0-9a-z]{1,4}:){4,4}).+/\1/p') +#ip6addr_prefix=$(ip -6 a s | grep -E "inet6.+global" | sed -nE 's/.+inet6\s(([0-9a-z]{1,4}:){4,4}).+/\1/p') cat < /mnt/etc/systemd/network/10-eth0.network [Match] @@ -626,9 +626,11 @@ Name=eth0 [Network] DHCP=ipv4 -Address=${ip6addr_prefix}:1/64 -Gateway=fe80::1 CONF + +#Address=${ip6addr_prefix}:1/64 +#Gateway=fe80::1 + chroot_execute "systemctl enable systemd-networkd.service"