1
0
mirror of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git synced 2026-06-21 00:07:16 +03:00

fix cloud-config user existence check & update CHANGELOG

This commit is contained in:
Jake Buchholz Göktürk 2026-05-18 22:42:21 +00:00
parent 9cf6da5147
commit 8439414297
2 changed files with 15 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# CHANGELOG
## XXXX-XX-XX - Tiny Cloud v3.3.X
## 2026-05-XX - Tiny Cloud v3.3.0
#### GOOGLE CLOUD BEHAVIOR CHANGE
* ***NOTE***: Google Cloud SSH keys are installed for per specified logins,
@ -8,7 +8,18 @@
This matches `cloud-init`'s behavior and Google's intentions. Resolves
[#73](https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/issues/73).
* `man` pages!
* `man` pages! Thanks @ncopa!
[!149](https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/merge_requests/149)
* Support for configuring custom IMDS endpoint IP and API version, thanks to
@larena!
[!147](https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/merge_requests/147)
* Support for root partitions on LVM, also thanks to @larena!
[!146](https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/merge_requests/147)
* Fix [#84](https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/work_items/84)
cloud-config user existence check.
## 2025-12-07 - Tiny Cloud v3.2.3

View File

@ -274,8 +274,8 @@ init__userdata_users() {
no_create_home="$(get_userdata users/$i/no_create_home)"
fi
if getent passwd "$user" >/dev/null; then
log -i -t "$phase" info "$ACTION: user $user already exists"
if getent passwd "$name" >/dev/null; then
log -i -t "$phase" info "$ACTION: user $name already exists"
else
if [ "$system" != "true" ]; then
unset system