我有一个方案,我必须使用NETWORKDELAY设置才能可靠地装入NFS卷,但是,cloud-init总是在重新启动后删除我的更改。有解决方案吗?这是下面的示例尝试-
[deadlineuser@ip-10-0-11-20 ~]$ cat /etc/sysconfig/network
# Created by cloud-init on instance boot automatically, do not edit.
#
NETWORKING=yes
NETWORKDELAY=20
[deadlineuser@ip-10-0-11-20 ~]$ sudo reboot
packet_write_wait: Connection to UNKNOWN port 0: Broken pipe
vagrant@openfirehawkserverdev:/vagrant$ ssh deadlineuser@10.0.11.20
Last login: Sat Oct 26 12:58:35 2019
[deadlineuser@ip-10-0-11-20 ~]$ cat /etc/sysconfig/network
# Created by cloud-init on instance boot automatically, do not edit.
#
NETWORKING=yes