mirror of
https://github.com/oneclickvirt/pve.git
synced 2024-11-10 17:25:50 +08:00
Update build_nat_network.sh
This commit is contained in:
parent
7e6151558b
commit
d7f4fbea8e
1 changed files with 6 additions and 6 deletions
|
@ -227,12 +227,12 @@ fi
|
||||||
# iface vmbr2 inet6 static
|
# iface vmbr2 inet6 static
|
||||||
# address ${ipv6_address_without_last_segment}2/${ipv6_prefixlen}
|
# address ${ipv6_address_without_last_segment}2/${ipv6_prefixlen}
|
||||||
# EOF
|
# EOF
|
||||||
# if [ -f "/usr/local/bin/ndpresponder" ]; then
|
# if [ -f "/usr/local/bin/ndpresponder" ]; then
|
||||||
# new_exec_start="ExecStart=/usr/local/bin/ndpresponder -i vmbr0 -n ${ipv6_address_without_last_segment}/${ipv6_prefixlen}"
|
# new_exec_start="ExecStart=/usr/local/bin/ndpresponder -i vmbr0 -n ${ipv6_address_without_last_segment}/${ipv6_prefixlen}"
|
||||||
# file_path="/etc/systemd/system/ndpresponder.service"
|
# file_path="/etc/systemd/system/ndpresponder.service"
|
||||||
# line_number=6
|
# line_number=6
|
||||||
# sed -i "${line_number}s/.*/${new_exec_start}/" "$file_path"
|
# sed -i "${line_number}s|.*|${new_exec_start}|" "$file_path"
|
||||||
# fi
|
# fi
|
||||||
# fi
|
# fi
|
||||||
# fi
|
# fi
|
||||||
chattr +i /etc/network/interfaces
|
chattr +i /etc/network/interfaces
|
||||||
|
|
Loading…
Reference in a new issue