summaryrefslogtreecommitdiff
path: root/installer-ansible.yml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-09-04 14:42:29 +0300
committerLars Wirzenius <liw@liw.fi>2022-09-04 16:05:15 +0300
commit9cf867110987504a5f117a8e8e3e5ccf54d0109f (patch)
tree06abf3e2a24c896197ddacb94193b87d48f412cc /installer-ansible.yml
parent7c250ddce0fa3b136eb3d8baec6c4ab513d0fbe8 (diff)
downloadv-i-9cf867110987504a5f117a8e8e3e5ccf54d0109f.tar.gz
fix(installer-ansible.yml): remove root password from /etc/shadow
Sponsored-by: author
Diffstat (limited to 'installer-ansible.yml')
-rw-r--r--installer-ansible.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer-ansible.yml b/installer-ansible.yml
index 5911114..53cd4d6 100644
--- a/installer-ansible.yml
+++ b/installer-ansible.yml
@@ -21,7 +21,7 @@
- name: "unset root password so that virtual console logins work"
shell: |
- sed -i '/^root:[^:]*:/s//root::/' /etc/passwd
+ sed -i '/^root:[^:]*:/s//root::/' /etc/passwd /etc/shadow
- name: "remove ping so it can be re-installed for the right capabilities"
apt: