mirror of
https://github.com/bin456789/reinstall.git
synced 2026-02-04 17:14:17 +08:00
debian 9: 修复 ifupdown 不支持静态 ipv6 onlink 网关
This commit is contained in:
@ -3113,8 +3113,10 @@ EOF
|
||||
# hack 3
|
||||
# 修改 trans.sh
|
||||
# 1. 直接调用 create_ifupdown_config
|
||||
# shellcheck disable=SC2154
|
||||
insert_into_file $initrd_dir/trans.sh after '^: main' <<EOF
|
||||
distro=$nextos_distro
|
||||
releasever=$nextos_releasever
|
||||
create_ifupdown_config /etc/network/interfaces
|
||||
exit
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user