技术张儿

Ubuntu开机卡在等待网络连接2分钟问题处理

root@ubuntu:~# vim /etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service 
[Service]
TimeoutStartSec=2sec
root@ubuntu:~# systemctl daemon-reload 
root@ubuntu:~# systemctl stop systemd-networkd-wait-online.service 
root@ubuntu:~# systemctl disable systemd-networkd-wait-online.service 
root@ubuntu:~# reboot

还没有评论,来说两句吧。

发表评论

邮箱仅用于显示头像,不会公开。