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

31 Commits

Author SHA1 Message Date
Jake Buchholz Göktürk
be890f7f16 logging/comment updates 2024-11-30 14:31:54 -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
e75ec5b4f6 Remove Deprecated Network and Hotplug Stuff 2024-10-19 18:04:45 -07:00
Natanael Copa
6fb5fa088b Support disabling tiny-cloud via /etc/tiny-cloud.disabled
ref: https://gitlab.alpinelinux.org/alpine/mkinitfs/-/merge_requests/133
ref: https://cloudinit.readthedocs.io/en/latest/howto/disable_cloud_init.html
2023-11-28 15:56:35 +01:00
Guido Trotter
2f3ef42d9b Fix typo in sbin/tiny-cloud --disable 2023-10-12 21:16:10 +00:00
Jake Buchholz Göktürk
79e770a8fc Fail on Init Action Failure
* If an init action fails, tiny-cloud should terminate instead of proceeding.
* Also, if bootstrap is incomplete, always re/load user-data, even if user-data file exists.
2023-09-25 18:09:44 +00:00
Jake Buchholz Göktürk
e628e9817d Replace Broken --setup With Working --enable and --disable 2023-06-16 10:04:36 -07:00
Jake Buchholz Göktürk
d5a5e88b6a Tiny Cloud 3.0.0 (final!) 2023-05-30 16:59:06 -07:00
Jake Buchholz Göktürk
475c3d4642 fix /etc/runlevel --> /etc/runlevels 2023-05-29 23:21:10 +00:00
Jake Buchholz Göktürk
96e36c251d Final Bits Before 3.0.0 2023-05-29 22:39:36 +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
Jake Buchholz Göktürk
5f26d1f579 Rename Phases & Support doas.conf 2023-05-22 00:34:28 +00:00
Jake Buchholz Göktürk
69733fbedd update tiny-cloud --help slightly and otherwise mostly tab/space adjustments 2023-05-21 14:22:08 -07:00
Natanael Copa
000f41a48b Add .editorconfig and replace spaces with tabs 2023-05-19 04:13:16 +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
Jake Buchholz Göktürk
13b0eef9fe Add "net" phase to tiny-cloud --setup 2023-05-10 19:24:31 +00:00
Natanael Copa
b03030182f Add cloud provider "alpine" and user-data "alpine-conf" 2023-05-09 14:15:31 +00:00
Natanael Copa
02c0c31703 tiny-cloud: Print usage on invalid option and add test
Add test that verifies invalid option and `tiny-cloud --help`
2023-05-04 11:50:22 +02:00
Jake Buchholz Göktürk
58ac2108cd Fixes for tiny-cloud Wrapper
* switch from phase functions to variables containing list of actions
* init actions prefixed with 'init__'
* refine output during init
* add syslog entries
* add --setup for putting init scripts in the right runlevel
2023-05-03 02:11:01 +00:00
Jake Buchholz Göktürk
3894cd9f8d Support "local-hostname" 2023-04-30 23:23:54 +00:00
Jake Buchholz Göktürk
81869cefcc Consolidate init functionality in /sbin/tiny-cloud 2023-04-30 03:37:11 +00:00
Jake Buchholz Göktürk
fda9a350a1 imds-net-sync should only work with secondary ipv4s on an interface 2023-03-24 16:41:37 -07:00
Jake Buchholz Göktürk
ed67197e7b restore "source /lib/tiny-cloud/common" in imds-net-sync 2023-03-23 19:14:43 +00:00
Jake Buchholz Göktürk
520b72b8d6 Fix imds-net-sync with multiple interfaces
* all IPv4s of non-eth0 interfaces should be associated with route table
* also add "to" rules for non-eth0 interfaces (symmetry with the "from" rules)
2023-03-23 10:33:52 -07:00
Natanael Copa
c335944911 Add kyua testsuite and make code more portable 2023-03-08 03:39:39 +00:00
Jake Buchholz Göktürk
39670c091c Add Missing Trailing Newlines 2022-11-03 20:13:03 +00:00
Jake Buchholz Göktürk
4d85faffea Fix user-data Decompression 2022-10-20 23:52:52 +00:00
Jake Buchholz Göktürk
4e37eb815c Minor Improvements & Typo Fixen
* save `user-data` during main `tiny-cloud` init script instead of `tiny-cloud-final`
* allow manual setting of bootstrap state with...
  * `service tiny-cloud complete`
  * `service tiny-cloud incomplete`
* use `${VAR:=default}` idiom instead of `VAR=${VAR:-default}`
* fix inconsequential typo in `imds-net-sync`
2022-10-16 21:48:05 +00:00
Jake Buchholz Göktürk
8ffdca9786 Introducing Tiny Cloud! 2022-01-29 22:27:34 +00:00