Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Marvin1973:pcs
hawk2-kiwi-image
config.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File config.sh of Package hawk2-kiwi-image
#!/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]..." # Fix zypper repos zypper -n ar -CG http://download.opensuse.org/tumbleweed/repo/oss/ tumbleweed zypper -n ar -CG http://download.opensuse.org/update/tumbleweed/ tumbleweed-update zypper -n ar -CG obs://network:ha-clustering:Factory network:ha-clustering:Factory zypper -n ar -CG obs://network:ha-clustering:BuildDep network:ha-clustering:BuildDep # Fix predictable network if names rm -f /etc/udev/rules.d/70-persistent-net.rules [ -e /etc/sysconfig/network/ifcfg-lan0 ] && [ ! -e /etc/sysconfig/network/ifcfg-eth0 ] && mv /etc/sysconfig/network/ifcfg-lan0 /etc/sysconfig/network/ifcfg-eth0 #====================================== # Don't use lvmetad #-------------------------------------- # Images build for lvm use, will create volume groups and # volumes in temporarly disk devices, aka loop disks. The # lvmetad keeps a reference to those temporarly created # volume groups even if they were already gone mv /sbin/lvmetad /sbin/lvmetad.deactivated #====================================== # Create ssh machine keys #-------------------------------------- /usr/sbin/sshd-gen-keys-start #====================================== # Activate services #-------------------------------------- suseInsertService sshd #====================================== # Umount kernel filesystems #-------------------------------------- baseCleanMount (cd /usr/share/locale && find -name "*.mo" | xargs rm) exit 0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor