From 04b112745faabb045b86c8fc3ed6d12d74497baf Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Wed, 19 Jun 2024 10:50:19 -0400 Subject: [PATCH] images/ubuntu: properly hardcode username The varliable isn't used consistently so might as well remove it. Signed-off-by: Simon Deziel --- images/ubuntu.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/images/ubuntu.yaml b/images/ubuntu.yaml index dbc62e560..fa4baab69 100644 --- a/images/ubuntu.yaml +++ b/images/ubuntu.yaml @@ -691,12 +691,11 @@ actions: echo LANG=en_US.UTF-8 > /etc/locale.conf # User - USERNAME="ubuntu" - useradd ${USERNAME} -s /bin/bash -m -U -G adm,video,users + useradd ubuntu -s /bin/bash -m -U -G adm,video,users cat << EOF > /etc/gdm3/custom.conf [daemon] - AutomaticLogin=${USERNAME} + AutomaticLogin=ubuntu AutomaticLoginEnable=true EOF