Skip to content

Commit

Permalink
images/ubuntu: properly hardcode username
Browse files Browse the repository at this point in the history
The varliable isn't used consistently so might as well remove it.

Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Jun 19, 2024
1 parent 27debf2 commit 04b1127
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions images/ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 04b1127

Please sign in to comment.