fixed:
xorriso zscaler first_install hostname added: qemu script timzone realname disabled systemd-networkd-wait-online
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#cloud-config
|
||||
autoinstall:
|
||||
version: 1
|
||||
timezone: Europe/Budapest
|
||||
|
||||
# Network configuration – Ethernet + optional Wi‑Fi
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user