1
0
mirror of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git synced 2025-12-14 19:02:45 +03:00

alpine-config: fix bug when running autoinstall

This commit is contained in:
Natanael Copa 2025-01-18 18:49:45 +00:00 committed by Jake Buchholz Göktürk
parent 81628a796b
commit f643fad632

View File

@ -71,7 +71,7 @@ init__userdata_autoinstall() {
if [ -n "$disk" ]; then
rm -f "$ETC"/runlevels/*/tiny-cloud*
$MOCK lbu include /root/.ssh /home
$MOCK ERASE_DISKS=/dev/$disk setup-disk -m sys /dev/$disk
ERASE_DISKS=/dev/$disk $MOCK setup-disk -m sys /dev/$disk
# TODO: make reboot configurable
$MOCK reboot
else