mirror of
https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git
synced 2025-12-16 03:42:44 +03:00
Tiny Cloud 3.0.0 (final!)
This commit is contained in:
parent
475c3d4642
commit
d5a5e88b6a
@ -1,6 +1,6 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
## 2023-05-XX - Tiny Cloud v3.0.0
|
## 2023-05-31 - Tiny Cloud v3.0.0
|
||||||
|
|
||||||
### INIT SCRIPTS / PHASES
|
### INIT SCRIPTS / PHASES
|
||||||
|
|
||||||
|
|||||||
@ -125,7 +125,7 @@ not installed in Alpine by default, and would need to be added to the image.)_
|
|||||||
|
|
||||||
When networking, IMDS, and User-Data are all availabile, this is the phase
|
When networking, IMDS, and User-Data are all availabile, this is the phase
|
||||||
takes care of the majority of bootstrapping actions that require them --
|
takes care of the majority of bootstrapping actions that require them --
|
||||||
setting up the instanxe hostname, creating default cloud user, and installing
|
setting up the instance hostname, creating default cloud user, and installing
|
||||||
SSH keys for it.
|
SSH keys for it.
|
||||||
|
|
||||||
Additional main phase actions may be taken if there is a User-Data handler
|
Additional main phase actions may be taken if there is a User-Data handler
|
||||||
|
|||||||
@ -49,12 +49,12 @@ while true; do
|
|||||||
# for installing in mounted volumes
|
# for installing in mounted volumes
|
||||||
: "${ROOT:=}"
|
: "${ROOT:=}"
|
||||||
# start with a clean slate
|
# start with a clean slate
|
||||||
log -s info " - tiny-cloud* services removed from all runlevels"
|
log -i info "- tiny-cloud* services removed from all runlevels"
|
||||||
rm -f "$ROOT"/etc/runlevels/*/tiny-cloud*
|
rm -f "$ROOT"/etc/runlevels/*/tiny-cloud*
|
||||||
log -s info " + tiny-cloud-boot service added to boot runlevel"
|
log -i info "+ tiny-cloud-boot service added to boot runlevel"
|
||||||
ln -s /etc/init.d/tiny-cloud-boot "$ROOT"/etc/runlevels/boot
|
ln -s /etc/init.d/tiny-cloud-boot "$ROOT"/etc/runlevels/boot
|
||||||
for p in early main final; do
|
for p in early main final; do
|
||||||
log -s info " + tiny-cloud-$p service added to default runlevel"
|
log -i info "+ tiny-cloud-$p service added to default runlevel"
|
||||||
ln -s "/etc/init.d/tiny-cloud-$p" "$ROOT"/etc/runlevels/default
|
ln -s "/etc/init.d/tiny-cloud-$p" "$ROOT"/etc/runlevels/default
|
||||||
done
|
done
|
||||||
exit 0;;
|
exit 0;;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user