1
0
mirror of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git synced 2025-12-16 03:42:44 +03:00
tiny-cloud/etc/init.d/tiny-cloud-early
Jake Buchholz Göktürk 852318c304 testing adjustments
* 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
2022-01-03 18:12:07 -08:00

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
}