feat: update Kubzero 1.23.11, new branding
This commit is contained in:
parent
dde72096b2
commit
b907511e03
|
@ -6,7 +6,7 @@ read
|
||||||
|
|
||||||
#TAG_FILTER="Name=tag:project,Values=zdt-alpine"
|
#TAG_FILTER="Name=tag:project,Values=zdt-alpine"
|
||||||
#TAG_FILTER="Name=tag:Name,Values=zdt-alpine-3.16.0-x86_64-bios-tiny-minimal-r0"
|
#TAG_FILTER="Name=tag:Name,Values=zdt-alpine-3.16.0-x86_64-bios-tiny-minimal-r0"
|
||||||
TAG_FILTER="Name=tag:Name,Values=zdt-alpine-3.16.2-x86_64-bios-tiny-kubezero-1.23.10-r1"
|
TAG_FILTER="Name=tag:Name,Values=zdt-alpine-3.16.2-x86_64-bios-tiny-kubezero-1.23.10-r0"
|
||||||
|
|
||||||
#for r in $(aws ec2 describe-regions --query "Regions[].{Name:RegionName}" --output text); do
|
#for r in $(aws ec2 describe-regions --query "Regions[].{Name:RegionName}" --output text); do
|
||||||
for r in ap-southeast-2 ca-central-1 eu-central-1 us-east-1 us-west-1 us-west-2; do
|
for r in ap-southeast-2 ca-central-1 eu-central-1 us-east-1 us-west-1 us-west-2; do
|
||||||
|
|
Binary file not shown.
|
@ -16,6 +16,7 @@ dhclient = true
|
||||||
monit = true
|
monit = true
|
||||||
busybox-extras = true
|
busybox-extras = true
|
||||||
tcpdump = true
|
tcpdump = true
|
||||||
|
neofetch = edge-community
|
||||||
tiny-cloud = edge-main
|
tiny-cloud = edge-main
|
||||||
tiny-cloud-openrc = edge-main
|
tiny-cloud-openrc = edge-main
|
||||||
tiny-cloud-network = edge-main
|
tiny-cloud-network = edge-main
|
||||||
|
|
|
@ -5,7 +5,7 @@ include required("common.conf")
|
||||||
packages { include required("kubezero-packages.conf") }
|
packages { include required("kubezero-packages.conf") }
|
||||||
|
|
||||||
description = [ "- https://kubezero.com" ]
|
description = [ "- https://kubezero.com" ]
|
||||||
name = [ kubezero-1.23.10 ]
|
name = [ kubezero-1.23.11 ]
|
||||||
# size = 2G
|
# size = 2G
|
||||||
|
|
||||||
WHEN {
|
WHEN {
|
||||||
|
|
|
@ -11,13 +11,6 @@ Default {
|
||||||
name = [ zdt-alpine ]
|
name = [ zdt-alpine ]
|
||||||
description = [ "ZeroDownTime Alpine Images" ]
|
description = [ "ZeroDownTime Alpine Images" ]
|
||||||
|
|
||||||
motd {
|
|
||||||
welcome = "Welcome to Alpine - ZeroDownTime edition"
|
|
||||||
version_notes = "Release Notes:\n"\
|
|
||||||
"* <https://kubezero.com/releases/v{kubeversion}/README.md>"
|
|
||||||
release_notes = "* <https://alpinelinux.org/releases/>"
|
|
||||||
}
|
|
||||||
|
|
||||||
# initial provisioning script and data directory
|
# initial provisioning script and data directory
|
||||||
scripts = [ setup ]
|
scripts = [ setup ]
|
||||||
script_dirs = [ setup.d ]
|
script_dirs = [ setup.d ]
|
||||||
|
|
|
@ -65,4 +65,10 @@ echo 'Enable monit via init, hooked up cloudbender alerting'
|
||||||
mv $TARGET/etc/profile.d/color_prompt.sh.disabled $TARGET/etc/profile.d/color_prompt.sh
|
mv $TARGET/etc/profile.d/color_prompt.sh.disabled $TARGET/etc/profile.d/color_prompt.sh
|
||||||
echo 'alias rs="doas bash --login"' > $TARGET/etc/profile.d/alias.sh
|
echo 'alias rs="doas bash --login"' > $TARGET/etc/profile.d/alias.sh
|
||||||
|
|
||||||
|
# branding
|
||||||
|
rm -f $TARGET/etc/motd
|
||||||
|
cp $SETUP/neofetch.conf $TARGET/etc/neofetch.conf
|
||||||
|
cp $SETUP/zdt-ascii.txt $TARGET/etc/neofetch-logo.txt
|
||||||
|
echo 'neofetch --config /etc/neofetch.conf' > $TARGET/etc/profile.d/motd.sh
|
||||||
|
|
||||||
printf '\n# Zero Down Time config applied'
|
printf '\n# Zero Down Time config applied'
|
||||||
|
|
|
@ -0,0 +1,34 @@
|
||||||
|
print_info() {
|
||||||
|
echo -e "\n\n"
|
||||||
|
|
||||||
|
prin "$(color 1)Welcome to Alpine - ZeroDownTime edition"
|
||||||
|
echo
|
||||||
|
prin "Release Notes:"
|
||||||
|
prin " - <https://kubezero.com/releases/v1.23/README.md>"
|
||||||
|
prin " - <https://alpinelinux.org/releases/>"
|
||||||
|
echo
|
||||||
|
|
||||||
|
info title
|
||||||
|
info underline
|
||||||
|
|
||||||
|
info "Host" model
|
||||||
|
info "Kernel" kernel
|
||||||
|
info "Uptime" uptime
|
||||||
|
# info "Packages" packages
|
||||||
|
info "CPU" cpu
|
||||||
|
info "GPU" gpu
|
||||||
|
info "Memory" memory
|
||||||
|
|
||||||
|
info "GPU Driver" gpu_driver # Linux/macOS only
|
||||||
|
info "CPU Usage" cpu_usage
|
||||||
|
info "Local IP" local_ip
|
||||||
|
info "Disk" disk
|
||||||
|
|
||||||
|
info underline
|
||||||
|
}
|
||||||
|
|
||||||
|
title_fqdn="on"
|
||||||
|
memory_percent="on"
|
||||||
|
colors=(1 2 15 15 15 15)
|
||||||
|
image_source="/etc/neofetch-logo.txt"
|
||||||
|
gap=0
|
|
@ -0,0 +1,21 @@
|
||||||
|
\x1b[38;2;32;120;108m ..
|
||||||
|
ox@@@@@x
|
||||||
|
-x@@@@@@@@@@@@x-
|
||||||
|
.x@@@x- -x@@@x.
|
||||||
|
ox@@@@x ox@@@@@@@@x- x@@@@xo
|
||||||
|
@@@@@@@@ x@@@@@@@@@@@@x @@@@@@@@o
|
||||||
|
o @@@@@x -x@@@@@@@@x- x@@@@@ o
|
||||||
|
@@@x- @@@x- -x@@@o .x@@@.
|
||||||
|
@@@@@@@x. x@@@@@@@@@@@@@ o@@@@@@@.
|
||||||
|
@@@@@@@@@@xo @@@@@@ -x@@@@@xx@@@.
|
||||||
|
@@@@@@@@@@@@@@x- .x@@@@@x- -@@@.
|
||||||
|
@@@@@@@@ @@@@@@@@ x@@@@@x ox x@@@.
|
||||||
|
@@@@ -@@ @@@@@@@@ @@@@ -x@@x .@@@@@.
|
||||||
|
@@@@x @ @@@@@@@@ @@@x .-o .x@@@.
|
||||||
|
@@@@@x @xoo@@@@ @@@@xx .xxx -@@@.
|
||||||
|
@@@@@@@ @@@@ @@@@@ x@xo x@@@.
|
||||||
|
@@@@@@@. -x@@@@@@ @@@@ x. -x@@@@@
|
||||||
|
.@@@@@@@@@@@@@ @@@x .x@@@@@x
|
||||||
|
x@@@@@@@@@ @@@@x@@@@@
|
||||||
|
@@@@@@ @@@@@@.
|
||||||
|
o@@ @@x
|
Loading…
Reference in New Issue