chroot.create_user(): default username to 'kupfer'

This commit is contained in:
InsanePrawn 2022-01-27 04:23:39 +01:00
parent b454781592
commit 209708a33e
2 changed files with 4 additions and 2 deletions

View file

@ -384,6 +384,7 @@ class Chroot:
password='123456',
groups=['network', 'video', 'audio', 'optical', 'storage', 'input', 'scanner', 'games', 'lp', 'rfkill', 'wheel'],
):
user = user or 'kupfer'
install_script = f'''
set -e
if ! id -u "{user}" >/dev/null 2>&1; then