summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-07-28 19:14:18 +0200
committerxengineering <me@xengineering.eu>2024-07-28 19:14:18 +0200
commit5bea4c50e7afd39ae64bb2b80c49e4a81650be1b (patch)
treee36f99e6f2c4434d4e8ddd9f60b521bf87ccea99
parent419fe88d38145973ef9aa387e877be402c5e7e28 (diff)
downloadcraft-5bea4c50e7afd39ae64bb2b80c49e4a81650be1b.tar
craft-5bea4c50e7afd39ae64bb2b80c49e4a81650be1b.tar.zst
craft-5bea4c50e7afd39ae64bb2b80c49e4a81650be1b.zip
Re-introduce password setting in VM preparation
This is useful to log into the VM manually e.g. for package updates.
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 346befd..8e25356 100644
--- a/README.md
+++ b/README.md
@@ -90,6 +90,7 @@ locale-gen
echo 'LANG=en_US.UTF-8' > /etc/locale.conf
echo 'craft-archlinux' > /etc/hostname
mkinitcpio -P
+echo 'root' | passwd -s
systemctl enable NetworkManager
systemctl enable chronyd
sed -i 's|#PermitRootLogin prohibit-password|PermitRootLogin yes|g' /etc/ssh/sshd_config