mirror of
https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git
synced 2025-12-16 03:42:44 +03:00
* add bootstrap_complete * fix _imds_token * scrap _enforce_ending_newline * userdata 404s if none is set * fix save_userdata * fix is_userdata_script * ensure existence of log/var dirs
20 lines
309 B
Bash
Executable File
20 lines
309 B
Bash
Executable File
#!/sbin/openrc-run
|
|
# vim:set ft=sh noet ts=4:
|
|
|
|
description="Tiny Cloud Bootstrap - early phase"
|
|
|
|
depend() {
|
|
before mdev
|
|
}
|
|
|
|
start() {
|
|
source /lib/tiny-cloud/init-early
|
|
|
|
is_bootstrapped && return 0
|
|
|
|
ebegin "Expanding Root Volume/Partition"
|
|
expand_root
|
|
eend $?
|
|
|
|
# TODO: _setup mdev things, if applicable
|
|
} |