A new user interface for you! Read more...

File config.sh of Package IAM_Appliance_SLES12

#!/bin/bash
#================
# FILE          : config.sh
#----------------
# PROJECT       : OpenSuSE KIWI Image System
# COPYRIGHT     : (c) 2006 SUSE LINUX Products GmbH. All rights reserved
#               :
# AUTHOR        : Marcus Schaefer <ms@suse.de>
#               :
# 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: [$name]..."

#======================================
# SuSEconfig
#--------------------------------------
echo "** Running suseConfig..."
suseConfig

echo "** Running ldconfig..."
/sbin/ldconfig

#======================================
# Setup baseproduct link
#--------------------------------------
suseSetupProduct


#======================================
# Setup default runlevel
#--------------------------------------
baseSetRunlevel 3

#======================================
# Add missing gpg keys to rpm
#--------------------------------------
suseImportBuildKey


# Enable sshd
chkconfig sshd on

#======================================
# Sysconfig Update
#--------------------------------------
echo '** Update sysconfig entries...'
baseUpdateSysConfig /etc/sysconfig/keyboard KEYTABLE de-latin1-nodeadkeys.map.gz
baseUpdateSysConfig /etc/sysconfig/network/config FIREWALL no
baseUpdateSysConfig /etc/init.d/suse_studio_firstboot NETWORKMANAGER no
baseUpdateSysConfig /etc/sysconfig/SuSEfirewall2 FW_SERVICES_EXT_TCP 22\ 80\ 443
baseUpdateSysConfig /etc/sysconfig/console CONSOLE_FONT lat9w-16.psfu


#======================================
# Setting up overlay files 
#--------------------------------------
echo '** Setting up overlay files...'
echo mkdir -p /
mkdir -p /
echo tar xfp /image/3d274fe69d00d0473f918fc5fbf71d06 -C /
tar xfp /image/3d274fe69d00d0473f918fc5fbf71d06 -C /
echo rm /image/3d274fe69d00d0473f918fc5fbf71d06
rm /image/3d274fe69d00d0473f918fc5fbf71d06
mkdir -p /
mv /studio/overlay-tmp/files///additional_files_20161209.tar.bz2 //additional_files_20161209.tar.bz2
chown nobody:nobody //additional_files_20161209.tar.bz2
chmod 644 //additional_files_20161209.tar.bz2
echo mkdir -p /
mkdir -p /
echo tar xfp /image/a4710c490cb9fca5a39ff134d8d4ffc7 -C /
tar xfp /image/a4710c490cb9fca5a39ff134d8d4ffc7 -C /
echo rm /image/a4710c490cb9fca5a39ff134d8d4ffc7
rm /image/a4710c490cb9fca5a39ff134d8d4ffc7
mkdir -p /
mv /studio/overlay-tmp/files///is4it-bootsplash.tar.bz2 //is4it-bootsplash.tar.bz2
chown nobody:nobody //is4it-bootsplash.tar.bz2
chmod 644 //is4it-bootsplash.tar.bz2
echo mkdir -p /
mkdir -p /
echo tar xfp /image/eed2b77d096a3bd50e99042812def882 -C /
tar xfp /image/eed2b77d096a3bd50e99042812def882 -C /
echo rm /image/eed2b77d096a3bd50e99042812def882
rm /image/eed2b77d096a3bd50e99042812def882
mkdir -p /
mv /studio/overlay-tmp/files///vnc.tar.gz //vnc.tar.gz
chown nobody:nobody //vnc.tar.gz
chmod 644 //vnc.tar.gz
test -d /studio || mkdir /studio
cp /image/.profile /studio/profile
cp /image/config.xml /studio/config.xml
chown root:root /studio/suse-studio-custom
chmod 755 /studio/suse-studio-custom
rm -rf /studio/overlay-tmp

true

#======================================
# SSL Certificates Configuration
#--------------------------------------
echo '** Rehashing SSL Certificates...'
c_rehash