#!/bin/bash #================ # FILE : config.sh #---------------- # PROJECT : OpenSuSE KIWI Image System # COPYRIGHT : (c) 2006 SUSE LINUX Products GmbH. All rights reserved # : # AUTHOR : Marcus Schaefer # : # BELONGS TO : Operating System images # : # DESCRIPTION : configuration script for SUSE based # : operating systems # : # : # STATUS : BETA #---------------- #====================================== # Functions... #-------------------------------------- test -f /.kconfig && . /.kconfig test -f /.profile && . /.profile #====================================== # Greeting... #-------------------------------------- echo "Configure image: [$kiwi_iname]..." #====================================== # Setup baseproduct link #-------------------------------------- suseSetupProduct #====================================== # Activate services #-------------------------------------- suseInsertService sshd suseInsertService grub_config suseInsertService dracut_hostonly #====================================== # Setup default target, multi-user #-------------------------------------- baseSetRunlevel 3 pip install sysv-ipc --break-system-packages pip install pycstruct --break-system-packages pip install brother-ql --break-system-packages pip install qrcode --break-system-packages systemctl enable reHDDPrinter systemctl enable reHDDStartHelper systemctl enable reHDDLogUploader