文件操作 - systemd.resolved.conf.tmpl
返回文件管理
返回主菜单
删除本文件
文件: /snap/core22/2411/etc/cloud/templates/systemd.resolved.conf.tmpl
编辑文件内容
## template:jinja # Your system has been configured with 'manage-resolv-conf' set to true. # As a result, cloud-init has written this file with configuration data # that it has been provided. Cloud-init, by default, will write this file # a single time (PER_ONCE). # [Resolve] LLMNR=false {% if nameservers is defined %} DNS={% for server in nameservers %}{{server}} {% endfor %} {% endif %} {% if searchdomains is defined %} Domains={% for search in searchdomains %}{{search}} {% endfor %} {% endif %}
修改文件时间
将文件时间修改为当前时间的前一年
删除文件