xorriso
 zscaler
 first_install
 hostname
added:
  qemu script
  timzone
  realname
disabled systemd-networkd-wait-online
This commit is contained in:
Zsolt Alföldi
2026-02-28 11:50:21 +01:00
parent 6bce4f9cf1
commit f35fc00243
4 changed files with 56 additions and 7 deletions

View File

@@ -1,6 +1,7 @@
#cloud-config
autoinstall:
version: 1
timezone: Europe/Budapest
# Network configuration Ethernet + optional WiFi
network:
@@ -14,8 +15,9 @@ autoinstall:
# ─── IDENTITY ──────────────────────────────────────────────────────────────
identity:
hostname: nokia
hostname: nokia-l13g4-sisu
username: alfoldi
realname: "Zsolt Alfoldi"
password: "${USER_PASSWORD_HASH}"
# ─── SSH ───────────────────────────────────────────────────────────────────
@@ -66,6 +68,17 @@ autoinstall:
encoding: b64
content: "${NOKIA_CLIENT_KEY_B64}"
- path: /home/${TARGET_USER}/first_install.sh
permissions: "0755"
owner: ${TARGET_USER}:${TARGET_USER}
content: |
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
exit 1
fi
chown ${TARGET_USER}:${TARGET_USER} -R /home/${TARGET_USER}/nocloud/
bash -x /home/${TARGET_USER}/nocloud/post-install.sh main
# - path: /etc/himmelblau/himmelblau.conf
# owner: ${TARGET_USER}:${TARGET_USER}
# content: |
@@ -178,7 +191,7 @@ autoinstall:
- bash -x /cdrom/nocloud/wifi.sh
- mkdir -p /target/home/${TARGET_USER}/nocloud
- cp /cdrom/nocloud/* /target/home/${TARGET_USER}/nocloud/
- chown ${TARGET_USER}:${TARGET_USER} -R /target/home/${TARGET_USER}/nocloud/
- curtin in-target -- systemctl disable systemd-networkd-wait-online.service
updates: all
shutdown: poweroff