dockerfiles/kiwi-builder/config.sh

50 lines
1.2 KiB
Bash
Raw Normal View History

#!/bin/bash
#================
# FILE : config.sh
#----------------
# PROJECT : OpenSuSE KIWI Image System
# COPYRIGHT : (c) 2013 SUSE LLC
# :
# AUTHOR : Robert Schweikert <rjschwei@suse.com>
# :
# 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
#======================================
# SuSEconfig
#--------------------------------------
suseConfig
#======================================
# Activate services
#--------------------------------------
suseActivateDefaultServices
#======================================
# Umount kernel filesystems
#--------------------------------------
baseCleanMount
exit 0