[libvirt-ci PATCH] lcitool: Don't set root shell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Being able to log in as root is critical to recover from failures,
so using bash might not always be the best idea: this is especially
true for FreeBSD, where bash is installed via ports and might break
on update from time to time, rendering the system inaccessible
without jumping through additional hoops.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 guests/playbooks/update/tasks/users.yml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/guests/playbooks/update/tasks/users.yml b/guests/playbooks/update/tasks/users.yml
index a07349f..28ee96a 100644
--- a/guests/playbooks/update/tasks/users.yml
+++ b/guests/playbooks/update/tasks/users.yml
@@ -3,7 +3,6 @@
   user:
     name: root
     password: '{{ lookup("file", root_password_file)|password_hash("sha512") }}'
-    shell: '{{ bash }}'
 
 - name: 'root: Configure ssh access'
   authorized_key:
-- 
2.25.3





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux