diff --git a/kiwi/simple-build/centos-9.kiwi b/kiwi/simple-build/centos-9.kiwi new file mode 120000 index 0000000..2288558 --- /dev/null +++ b/kiwi/simple-build/centos-9.kiwi @@ -0,0 +1 @@ +config.xml \ No newline at end of file diff --git a/kiwi/simple-build/config.sh b/kiwi/simple-build/config.sh new file mode 100755 index 0000000..2bdb797 --- /dev/null +++ b/kiwi/simple-build/config.sh @@ -0,0 +1,34 @@ +#!/bin/bash +#====================================== +# Functions... +#-------------------------------------- +test -f /.kconfig && . /.kconfig +test -f /.profile && . /.profile + +#====================================== +# Greeting... +#-------------------------------------- +echo "Configure image: [$kiwi_iname]..." + +#====================================== +# Setup default target, multi-user +#-------------------------------------- +systemctl set-default multi-user.target + +#====================================== +# Set up the user skeleton for root user +#-------------------------------------- +cp -a /etc/skel/* /root/ + +#====================================== +# Force localhost for hostname +#-------------------------------------- +echo "localhost" > /etc/hostname + +#====================================== +# Purge unwanted locales +#-------------------------------------- +rm -rf /usr/share/locale/*/*/*.mo +rm -rf /usr/share/X11/locale/*/* +find /usr/share/i18n/charmaps -type f -not -name 'UTF-8.*' -delete +find /usr/share/i18n/locales -type f -not -name 'en*' -delete diff --git a/kiwi/simple-build/config.xml b/kiwi/simple-build/config.xml new file mode 100644 index 0000000..4d176ce --- /dev/null +++ b/kiwi/simple-build/config.xml @@ -0,0 +1,71 @@ + + + + + Neal Gompa + ngompa@centosproject.org + Simple Appliance based on CentOS 9 + + + 0.0.0 + dnf + en_US + us + UTC + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/kiwi/simple-build/root/etc/sysconfig/firstboot b/kiwi/simple-build/root/etc/sysconfig/firstboot new file mode 100644 index 0000000..78ef6a0 --- /dev/null +++ b/kiwi/simple-build/root/etc/sysconfig/firstboot @@ -0,0 +1 @@ +RUN_FIRSTBOOT=NO