Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jreidinger
agama-live
config.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File config.sh of Package agama-live
#! /bin/bash set -x # KIWI functions test -f /.kconfig && . /.kconfig test -f /.profile && . /.profile # greeting echo "Configure image: [$kiwi_iname]..." # setup baseproduct link suseSetupProduct # activate services systemctl enable sshd.service systemctl enable NetworkManager.service systemctl enable agama.service systemctl enable agama-auto.service systemctl enable agama-proxy-setup.service systemctl enable setup-systemd-proxy-env.path systemctl enable x11-autologin.service systemctl enable spice-vdagent.service systemctl enable zramswap # default target systemctl set-default graphical.target # adjust owner of extracted files chown -R root:root /root find /etc -user 1000 | xargs chown root:root ### setup dracut for live system label=${kiwi_install_volid:-$kiwi_iname} arch=$(uname -m) echo "Setting default live root: live:LABEL=$label" mkdir /etc/cmdline.d echo "root=live:LABEL=$label" >/etc/cmdline.d/10-liveroot.conf echo "root_disk=live:LABEL=$label" >>/etc/cmdline.d/10-liveroot.conf # if there's a default network location, add it here # echo "root_net=" >> /etc/cmdline.d/10-liveroot.conf echo 'install_items+=" /etc/cmdline.d/10-liveroot.conf "' >/etc/dracut.conf.d/10-liveroot-file.conf echo 'add_dracutmodules+=" dracut-menu "' >>/etc/dracut.conf.d/10-liveroot-file.conf # Clean-up logs rm /var/log/zypper.log /var/log/zypp/history if [ "${arch}" = "s390x" ];then # workaround for custom bootloader setting touch /config.bootoptions fi
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