Files
sysconfig/oracle_bind_ipv6.sh
luk 9742f6dab2 refactor: 脚本及配置文件命名统一用 _ 分隔
将 .sh/.bat 脚本与 .js/.plist/.Dockerfile 等文件中以 - 分隔的文件名
改为 _ 分隔,dcloud-renew 目录改为 dcloud、script_nuance 目录改为
nuance,并同步更新脚本内部引用与 README 路径。

Co-Authored-By: AtomCode (deepseek-v4-flash) <noreply@atomgit.com>
2026-08-25 15:11:50 +08:00

12 lines
451 B
Bash
Executable File

echo "Binding ipv6 to Oracle Cloud debian instance after configuring ipv6 (https://sunpma.com/1051.html)"
echo "If it failes, try 'sudo ifconfig' to get the correct nic name, because ubuntu use different names."
echo "If there is no 'ifconfig', run 'sudo apt install net-tools' at first"
echo "You can also reboot to automatically bind ipv6"
if [ `dpkg --print-architecture` = 'arm64']
then
sudo dhclient -6 enp0s3
else
sudo dhclient -6 ens3
if