24 lines
657 B
Diff
24 lines
657 B
Diff
|
|
From 5d4297092279a96da79b6404dfb7f31cc406b01c Mon Sep 17 00:00:00 2001
|
||
|
|
From: qiushigang <qiushigang@xfusion.com>
|
||
|
|
Date: Thu, 18 Aug 2022 09:51:59 +0800
|
||
|
|
Subject: [xfusion]cloud-init:delete "ALL=(ALL) NOPASSWD:ALL" in cloud.cfg.tmpl
|
||
|
|
|
||
|
|
---
|
||
|
|
config/cloud.cfg.tmpl | 1 -
|
||
|
|
1 file changed, 1 deletion(-)
|
||
|
|
|
||
|
|
diff --git a/config/cloud.cfg.tmpl b/config/cloud.cfg.tmpl
|
||
|
|
index 39e36dd..cbf91ac 100644
|
||
|
|
--- a/config/cloud.cfg.tmpl
|
||
|
|
+++ b/config/cloud.cfg.tmpl
|
||
|
|
@@ -252,7 +252,6 @@ system_info:
|
||
|
|
{% else %}
|
||
|
|
groups: [wheel, adm, systemd-journal]
|
||
|
|
{% endif %}
|
||
|
|
- sudo: ["ALL=(ALL) NOPASSWD:ALL"]
|
||
|
|
{% if variant == "alpine" %}
|
||
|
|
shell: /bin/ash
|
||
|
|
{% else %}
|
||
|
|
--
|
||
|
|
2.27.0
|