mirror of
https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git
synced 2025-12-16 03:42:44 +03:00
some more cleanups
This commit is contained in:
parent
5313799ae3
commit
761e986afb
@ -1,4 +1,4 @@
|
|||||||
Copyright (c) 2017-2021 Jake Buchholz Göktürk, Michael Crute
|
Copyright (c) 2017-2022 Jake Buchholz Göktürk, Michael Crute
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
this software and associated documentation files (the "Software"), to deal in
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
|
|||||||
@ -11,8 +11,6 @@ depend() {
|
|||||||
start() {
|
start() {
|
||||||
source /lib/tiny-cloud/init-main
|
source /lib/tiny-cloud/init-main
|
||||||
|
|
||||||
# TODO: background tiny-cloud network watcher?
|
|
||||||
|
|
||||||
is_bootstrapped && return 0
|
is_bootstrapped && return 0
|
||||||
|
|
||||||
ebegin "Setting Instance Hostname"
|
ebegin "Setting Instance Hostname"
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
# Tiny Cloud - Common Initialization
|
# Tiny Cloud - Common Initialization
|
||||||
# vim:set ts=4 et ft=sh:
|
# vim:set ts=4 et ft=sh:
|
||||||
|
|
||||||
|
source /etc/conf.d/tiny-cloud
|
||||||
|
|
||||||
# set defaults
|
# set defaults
|
||||||
CLOUD_USER=${CLOUD_USER:-alpine}
|
CLOUD_USER=${CLOUD_USER:-alpine}
|
||||||
CLOUD_USERDATA=${CLOUD_USERDATA:-user-data}
|
CLOUD_USERDATA=${CLOUD_USERDATA:-user-data}
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
# Tiny Cloud - Early Phase Functions
|
# Tiny Cloud - Early Phase Functions
|
||||||
# vim:set ts=4 et ft=sh:
|
# vim:set ts=4 et ft=sh:
|
||||||
|
|
||||||
source /etc/conf.d/tiny-cloud
|
|
||||||
source /lib/tiny-cloud/init-common
|
source /lib/tiny-cloud/init-common
|
||||||
|
|
||||||
expand_root() {
|
expand_root() {
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
# Tiny Cloud - Final Phase Functions
|
# Tiny Cloud - Final Phase Functions
|
||||||
# vim:set ts=4 et ft=sh:
|
# vim:set ts=4 et ft=sh:
|
||||||
|
|
||||||
source /etc/conf.d/tiny-cloud
|
|
||||||
source /lib/tiny-cloud/init-common
|
source /lib/tiny-cloud/init-common
|
||||||
|
|
||||||
save_userdata() {
|
save_userdata() {
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
# Tiny Cloud - Main Phase Functions
|
# Tiny Cloud - Main Phase Functions
|
||||||
# vim:set ts=4 et ft=sh:
|
# vim:set ts=4 et ft=sh:
|
||||||
|
|
||||||
source /etc/conf.d/tiny-cloud
|
|
||||||
source /lib/tiny-cloud/init-common
|
source /lib/tiny-cloud/init-common
|
||||||
|
|
||||||
# ensure existence of output directories
|
# ensure existence of output directories
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user