Natanael Copa
38cbdee6a2
Return failure if any of install_modules fails
...
Add test to verify that install_modules can be skipped and that
install_modules returns failure if it fails to update mdev.conf.
2023-03-09 11:47:34 +01:00
Natanael Copa
4ba3ce17bc
Refactor skip_action
...
micro optimization. No forks used
readability improved by avoiding regex.
2023-03-09 11:47:34 +01:00
Natanael Copa
091af053c5
Use printf for skip_action
...
printf is posix compatible and works with all shell. echo -n does not
work with yash and is not posix compatible.
Add test for skipping expand_root
2023-03-09 11:47:34 +01:00
Natanael Copa
a626e694c6
Refactor expand_root
...
Simplify it a bit.
- use awk /proc/mounts instead of busybox mountpoint
- use sysfs to find partition and volume. This is more robust
- add tests for it
2023-03-09 11:47:34 +01:00
Natanael Copa
d0f352b276
Fix detection of cloud-specific mdev functions
2023-03-09 02:28:04 +00:00
Natanael Copa
b9156a7f43
Add tests for imds aws
2023-03-09 02:22:11 +00: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
Valery Ushakov
feada28f10
nvme-ebs-links: quote readlink output, it may be empty
2022-11-03 00:37:16 +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
Stefan Reimer
1e49b7f212
fix: remove extra ']', removes of /] after first boot.
2022-09-27 15:03:21 +00:00
Jake Buchholz Göktürk
d15ac6bed3
Compressed User-Data / Initial NoCloud Support
2022-08-02 01:24:53 +00:00
Jake Buchholz Göktürk
ed8bdc8c8b
use defaults if /etc/conf.d/tiny-cloud is missing
2022-01-29 16:25:45 -08:00
Jake Buchholz Göktürk
8ffdca9786
Introducing Tiny Cloud!
2022-01-29 22:27:34 +00:00