bugfix:TSG-13113:删除system boot过程中创建/run/nologin文件操作

This commit is contained in:
fumingwei
2023-01-04 15:13:00 +08:00
parent 45055c688d
commit d9dfbb34ae

View File

@@ -89,3 +89,9 @@
backrefs: yes
regexp: "^(.*Defaults secure_path =.*)$"
line: '\1:/opt/tsg/tsg-os-provision'
- name: "Comment /run/nologin create on system booting up"
replace:
path: /usr/lib/tmpfiles.d/systemd-nologin.conf
regexp: '^(F! /run/nologin 0644*)'
replace: '#\1'