ISO/novos-base.sh
LinuxSquare 810c4ff1be Major Release 2412-1
* Replaced salt w. ansible
* Switched os-base to Alpine 3.21
* Reworked Installer
* * Added Installation Targets gaming,proxy,build
* * End-screen now presents options to reboot, poweroff or alpine-shell
2024-12-28 14:21:03 +01:00

27 lines
603 B
Bash
Executable file

#!/usr/bin/env ash
# overwrite default-hostname
echo "novos-live" > /etc/hostname
hostname -F /etc/hostname
# Enable networking on boot
rc-update add networking
# Enable hostname service
rc-update add hostname
# Set Swiss keymap
setup-keymap ch ch
# Set Swiss Timezone
setup-timezone Europe/Zurich
hwclock --systohc
# Change default shell of root from ash => zsh
sed -i 's~root:/bin/sh~root:/bin/zsh~' /etc/passwd
sed -i 's~/sbin/getty 38400~/usr/sbin/mingetty --autologin root --noclear~' /etc/inittab
# Add btrfs module
echo "btrfs" | tee -a /etc/modules
echo "efivarfs" | tee -a /etc/modules