1
0
mirror of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git synced 2025-12-15 11:22:43 +03:00

24 Commits

Author SHA1 Message Date
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
d0a39db18d Automatically setup apk repositories if not specified
Configure network repositories with setup-apkrepos if no repositories
file exists.
2024-06-27 17:49:40 +00:00
Natanael Copa
cd385f5610 Add initial support for alpine autoinstall
Run setup-disk on the biggest empty disk found when autoinstall: true is
set.
2024-06-27 17:27:03 +00:00
Natanael Copa
239cb59a13 Move alpine provider into nocloud 2024-06-23 20:26:22 +00:00
Natanael Copa
45cc24696b Configure ephemeral network if needed
Add ipv4 address from dhcp if datasource is from https and no ipv4
address is configured.
2024-01-18 04:02:50 +00:00
Natanael Copa
d30d2555df Implement ssh_authorized_keys 2023-06-09 14:23:51 +00:00
Natanael Copa
85108e958b Fix vim modelines and make more readable
Add missing trailing :

Use filetype=sh instead of ft=sh to make it more readable.
2023-05-24 14:50:02 +00:00
Natanael Copa
b4776260db Move create_default_user to main phase 2023-05-23 14:28:23 +00:00
Jake Buchholz Göktürk
5f26d1f579 Rename Phases & Support doas.conf 2023-05-22 00:34:28 +00:00
Natanael Copa
c4195b5e8b Add package_update / package_upgrade
Allows system to be upgraded before installing new.

ref: https://cloudinit.readthedocs.io/en/latest/reference/modules.html#package-update-upgrade-install
2023-05-19 17:50:33 +02:00
Natanael Copa
000f41a48b Add .editorconfig and replace spaces with tabs 2023-05-19 04:13:16 +00:00
Jussi Nummelin
7d9a280a67 Add support for write_files instructions 2023-05-18 13:31:11 +00:00
Jake Buchholz Göktürk
badf0f65d1 Fix UserData Script chmod, etc. 2023-05-15 01:33:57 +00:00
Jake Buchholz Göktürk
bc6edeeaa5 install user-data handlers, tweak logging 2023-05-13 22:05:58 +00:00
Natanael Copa
b03030182f Add cloud provider "alpine" and user-data "alpine-conf" 2023-05-09 14:15:31 +00:00