1
0
mirror of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git synced 2025-12-14 19:02:45 +03:00

180 Commits

Author SHA1 Message Date
Jake Buchholz Göktürk
c2810d16ea update changelog for v3.2.3 3.2.3 2025-12-07 07:58:47 -08:00
Jake Buchholz Göktürk
f91de06fee Extra test for cloud-config doas when adding extra users to default. 2025-12-04 19:47:54 +00:00
Jake Buchholz Göktürk
3e44e41603 properly detect empty userdata 2025-11-30 19:56:46 +00:00
3e886c87fb BugFix: user-data cloud-config handler user counter "i" overwrite 2025-08-18 19:22:08 +00:00
Jake Buchholz Göktürk
0054493216 dynamically generate list of supported clouds 3.2.2 2025-06-11 15:59:21 +00:00
Jake Buchholz Göktürk
92ff6fa94e bugfix release 3.2.1 2025-05-31 15:38:34 -07:00
Jake Buchholz Göktürk
de33d25764 don't reuse previous user's attributes 2025-05-31 14:39:57 -07:00
Jake Buchholz Göktürk
018e0d62d4 use actual digitalocean DMI modalias string in test 2025-05-29 20:57:20 -07:00
Jake Buchholz Göktürk
b4bf3299e2 set release date for 3.2.0 3.2.0 2025-05-29 19:42:40 -07:00
Jake Buchholz Göktürk
3aabf9f83e validate hostname value lengths 2025-05-29 19:31:34 -07:00
Jake Buchholz Göktürk
daa31db54e initial digitalocean support 2025-05-29 03:46:51 +00:00
Natanael Copa
bbe5e2e38c alpine-config: autoinstall: allow override disk and reboot and set swap 2025-05-29 00:32:55 +00:00
tooreht
5eb428fb0e Fix doas config permissions 3.1.1 2025-01-29 22:20:45 +01:00
Natanael Copa
f643fad632 alpine-config: fix bug when running autoinstall 2025-01-18 18:49:45 +00:00
Natanael Copa
81628a796b Allow override default user's homedir, shell, group and gecos 2024-12-30 18:51:46 +00:00
Natanael Copa
c52b8b502f Fix typo in imds 2024-12-24 15:04:49 +00:00
Jake Buchholz Göktürk
3be853c313 finalize for 3.1.0 3.1.0 2024-12-03 19:46:02 -08:00
Jake Buchholz Göktürk
5c90394f7a logging update 3.1.0_rc2 2024-11-30 14:39:32 -08:00
Jake Buchholz Göktürk
be890f7f16 logging/comment updates 2024-11-30 14:31:54 -08:00
Jake Buchholz Göktürk
85e9a3bacc Update documentation for 3.1.0 3.1.0_rc1 2024-11-24 23:06:37 +00:00
Jake Buchholz Göktürk
46a43f4f65 ... 2024-11-24 11:25:43 -08:00
Jake Buchholz Göktürk
977243f432 Generic makefile target for all clouds 2024-11-24 11:24:21 -08:00
Jake Buchholz Göktürk
158230f7a6 Autodetect for Hetzner and Scaleway 2024-11-24 10:53:50 -08:00
Jake Buchholz Göktürk
697957f8c0 More Cloud Autodetects 2024-11-17 04:41:59 +00:00
Jake Buchholz Göktürk
98928e89a2 ensure all user-data handlers are installed 2024-11-15 16:45:53 -08:00
Jake Buchholz Göktürk
3ea8b15de0 cloud via cmdline / move autodetect 2024-11-14 01:22:48 +00:00
Jake Buchholz Göktürk
0548b418ec enact /usr merge 2024-11-07 16:21:05 +00:00
Jake Buchholz Göktürk
8355e324af Update/Tweak Docs 3.0.8 2024-11-04 18:08:45 +00:00
Jake Buchholz Göktürk
1ea16dc7b3 Update/Tweak Docs 2024-11-04 17:47:30 +00:00
Jake Buchholz Göktürk
b8218bd1f0 split alpine-config out of cloud-config 2024-11-04 17:05:50 +00:00
Jake Buchholz Göktürk
e75ec5b4f6 Remove Deprecated Network and Hotplug Stuff 2024-10-19 18:04:45 -07:00
Jake Buchholz Göktürk
b1ae3ab611 Makefile & tests for new clouds 2024-10-19 16:12:22 -07:00
Natanael Copa
34681ae220 Implement doas for users
Add config line for doas under user creation
2024-07-31 23:48:36 +02:00
Natanael Copa
e791e0494d Implement primary_group for users 2024-07-31 23:48:36 +02:00
Natanael Copa
7492d6f128 Implement groups for users
Allows created (or existing) user to be added to existing groups.
2024-07-31 23:48:36 +02:00
Natanael Copa
0abcf08262 Implement no_create_home for users 2024-07-31 23:48:36 +02:00
Natanael Copa
69c9545144 Implement system in users
Makes the created user a system user
2024-07-31 23:48:36 +02:00
Natanael Copa
0faaee62a4 Implement lock_passwd=false for user 2024-07-31 23:48:30 +02:00
Natanael Copa
4caf5eee18 Implement ssh_authorized_keys for created users
fixes https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/issues/57
2024-07-31 23:44:51 +02:00
Natanael Copa
b366e4e3f7 Implement user creation for alpine-config
ref: https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/issues/35
2024-07-31 23:44:09 +02:00
Natanael Copa
8303a4a3f2 Support disable the default user creation
Setting `users: []` should disable the creation of default user.

Setting `users: [default] should enable it.
2024-07-31 23:43:15 +02:00
Natanael Copa
115dafdfa0 Add support for groups in alpine-config
Only support creating empty groups for now

ref: https://cloudinit.readthedocs.io/en/latest/reference/modules.html#users-and-groups
2024-07-31 15:09:34 +02:00
Natanael Copa
b2821a7a69 imds: read autodetected cloud provider 2024-07-26 22:33:56 +00:00
Natanael Copa
7a87dfe08d Ensure autodetect script is executable 2024-07-26 22:32:52 +00:00
Natanael Copa
f3712b6ffc make: install incus files 2024-07-26 22:32:52 +00:00
Natanael Copa
874335d788 Don't try expand a non-existing device
In system containers, like incus, the root device may not exist. Avoid
return error in this case.
2024-07-25 20:38:57 +02:00
Natanael Copa
9d1d448a16 Add incus autodetect 2024-06-28 12:32:59 +02:00
Natanael Copa
966f0bb2a4 Get ssh key from user-data with incus
incus has no way to set ssh key in meta-data, instead we can set it in
user-data.

This means that we cannot set ssh key if user-data is a shell script.
2024-06-28 12:22:29 +02:00
Natanael Copa
3197427cb3 Add incus support
Incus provides meta-data via unix socket /dev/incus/sock
https://linuxcontainers.org/incus/docs/main/dev-incus/
2024-06-28 11:40:22 +02:00
Natanael Copa
abe98e6cbf Improve readability and fix quoting in fake netcat
No functional changes.
2024-06-27 22:11:51 +02:00