File config.sh of Package base_gnome_system

#!/bin/bash

set -ex

arch=$(uname -m)

if [ "${arch}" == "x86_64" ];then
    zypper ar http://download.opensuse.org/tumbleweed/repo/oss TW
elif [ "${arch}" == "aarch64" ];then
    zypper ar http://download.opensuse.org/ports/aarch64/tumbleweed/repo/oss TW
fi

cat >/etc/systemd/journald.conf.d/volatile.conf <<-EOF
[Journal]
Storage=volatile
EOF

systemctl disable display-manager

systemctl enable gdm
systemctl enable sshd
systemctl enable NetworkManager
openSUSE Build Service is sponsored by