Accept router advertisements on all images (SLAAC)

This commit is contained in:
fnux 2020-01-22 18:07:06 +01:00
parent 7779716529
commit e809052e29
3 changed files with 10 additions and 1 deletions

View file

@ -93,6 +93,9 @@ cat > /mnt/etc/hosts << EOF
EOF EOF
# Accept router advertisements for SLAAC.
run_root sysctl -w net.ipv6.conf.all.accept_ra=1
# Configure package sources and update package index. # Configure package sources and update package index.
cat >/mnt/etc/apt/sources.list <<EOF cat >/mnt/etc/apt/sources.list <<EOF
deb $APT_MIRROR $RELEASE main deb $APT_MIRROR $RELEASE main

View file

@ -99,7 +99,10 @@ cat > /mnt/etc/hosts << EOF
EOF EOF
# Initalize base services. # Accept router advertisements for SLAAC.
run_root sysctl -w net.ipv6.conf.all.accept_ra=1
# Initialize base services.
run_root systemd-machine-id-setup run_root systemd-machine-id-setup
run_root ln -sf /usr/share/zoneinfo/UTC /etc/localtime run_root ln -sf /usr/share/zoneinfo/UTC /etc/localtime

View file

@ -93,6 +93,9 @@ cat > /mnt/etc/hosts << EOF
EOF EOF
# Accept router advertisements for SLAAC.
run_root sysctl -w net.ipv6.conf.all.accept_ra=1
# Configure package sources and update package index. # Configure package sources and update package index.
cat >/mnt/etc/apt/sources.list <<EOF cat >/mnt/etc/apt/sources.list <<EOF
deb $APT_MIRROR $RELEASE main restricted universe multiverse deb $APT_MIRROR $RELEASE main restricted universe multiverse