Files
proxmox-qdevice/set_root_password.sh
Mateusz Gruszczyński af5fe5074c first commit
2026-01-15 14:10:13 +01:00

7 lines
103 B
Bash

#!/bin/sh -x
if [ ! -z ${NEW_ROOT_PASSWORD+x} ]
then
echo "root:${NEW_ROOT_PASSWORD}" | chpasswd
fi