Skip to content

Commit

Permalink
build(packer): set autologin-user to ubo in `/etc/lightdm/lightdm…
Browse files Browse the repository at this point in the history
….conf`
  • Loading branch information
sassanh committed Aug 21, 2024
1 parent a40c3e6 commit eae3b30
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Version 0.15.9

- build(packer): set `autologin-user` to `ubo` in `/etc/lightdm/lightdm.conf`

## Version 0.15.8

- fix(wifi): improve the logic of wifi onboarding notification
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ubo-app"
version = "0.15.8"
version = "0.15.9"
description = "Ubo main app, running on device initialization. A platform for running other apps."
authors = ["Sassan Haradji <[email protected]>"]
license = "Apache-2.0"
Expand Down
1 change: 1 addition & 0 deletions scripts/packer/image.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ build {
provisioner "shell" {
inline = [
"echo \"${var.image_name}\" > /etc/ubo_base_image",
"sed -i /etc/lightdm/lightdm.conf -e 's|#\\?autologin-user=.*|autologin-user=ubo|' || true",
"chmod +x /install.sh",
"/install.sh --in-packer --with-docker --source=/ubo_app-${var.ubo_app_version}-py3-none-any.whl",
"rm /install.sh /ubo_app-${var.ubo_app_version}-py3-none-any.whl",
Expand Down

0 comments on commit eae3b30

Please sign in to comment.