@@ -6,7 +6,7 @@
<specification>Open Build Service(OBS) Worker</specification>
</description>
<preferences>
- <type image="oem" filesystem="ext4" boot="oemboot/suse-12.1" bootprofile="std" bootkernel="default" kernelcmdline="nomodeset">
+ <type image="oem" filesystem="ext4" boot="oemboot/suse-12.3" bootprofile="std" bootkernel="default" kernelcmdline="nomodeset">
<oemconfig>
<oem-swap>false</oem-swap>
<oem-boot-title>OBS Worker</oem-boot-title>
@@ -16,41 +16,36 @@
<!-- empty
just to convince diff3 on version updates
-->
- <version>2.3.4</version>
+ <version>2.4.50</version>
<packagemanager>zypper</packagemanager>
<rpm-check-signatures>false</rpm-check-signatures>
<rpm-excludedocs>true</rpm-excludedocs>
<rpm-force>false</rpm-force>
<locale>en_US</locale>
+ <boot-theme>none</boot-theme>
</preferences>
<!-- users with default password. may a problem with running sshd, but you need to run the workers anyway in a secure network -->
<users group="opensuse">
<user name="root" pwd="opensuse" home="/root" pwdformat="plain" />
</users>
- <users group="obsrun" id="105">
- <user name="obsrun" home="/var/lib/empty" shell="/bin/false" id="103" pwd="*" pwdformat="plain" />
- </users>
<repository type="rpm-md">
- <source path="obs://openSUSE:Tools/openSUSE_12.2"/>
+ <source path="obs://OBS:Server:Unstable/openSUSE_12.3"/>
</repository>
<repository type="rpm-md">
- <source path="obs://openSUSE_12.2:Updates/oss"/>
+ <source path="obs://openSUSE:12.3:Update/standard"/>
</repository>
<repository type="rpm-md">
- <source path="obs://openSUSE_12.2/oss"/>
+ <source path="obs://openSUSE:12.3/standard"/>
</repository>
<packages type="image">
- <package name="sysvinit"/> <!-- OBS services are not running correctly with systemd -->
<package name="openSUSE-release-mini"/> <!-- base system -->
<package name="bind-libs"/>
<package name="bind-utils"/>
<package name="e2fsprogs"/>
<package name="btrfsprogs"/>
- <package name="reiserfs"/>
- <package name="xfsprogs"/>
<package name="elfutils"/>
<package name="pam-config"/>
<package name="sysconfig"/>
@@ -61,9 +56,8 @@
<package name="klogd"/>
<package name="ncurses-utils"/>
<package name="db-utils"/>
- <package name="grub"/>
+ <package name="grub2"/>
<package name="sysfsutils"/>
- <package name="bootsplash"/>
<package name="glib2-branding-openSUSE"/>
<package name="ifplugd"/>
<package name="vim"/>
@@ -72,9 +66,16 @@
<package name="iputils"/>
<package name="hwinfo"/>
<package name="gfxboot"/>
+ <package name="psmisc"/>
<package name="hdparm"/>
+ <package name="puppet"/>
+ <package name="smartmontools"/>
<package name="iproute2"/>
<package name="memtest86+"/>
+ <package name="OpenIPMI"/>
+ <package name="ipmitool"/>
+ <package name="parted"/>
+ <package name="dmidecode"/>
<package name="adaptec-firmware"/>
<package name="openSUSE-build-key"/>
<package name="openSUSE-release"/>
@@ -82,9 +83,9 @@
<package name="obs-worker"/> <!-- OBS worker -->
<package name="bsdtar"/> <!-- for safe built in kvm and xen -->
-
- <package name="qemu-linux-user"/> <!-- for cross architecture build in chroot (initialization only) -->
-
+ <package name="build-initvm"/> <!-- for cross architecture build in VM-->
+ <package name="qemu-linux-user"/> <!-- for cross architecture build in chroot (initialization only)-->
+
<package name="lsof"/> <!-- debug tools we want -->
<package name="procps"/>
<package name="sysstat"/>
@@ -99,7 +100,6 @@
<package name="kvm" arch="s390x"/>
<package name="kernel-firmware"/>
<package name="kernel-default"/>
- <package name="kernel-default-base"/>
</packages>
<packages type="bootstrap">
<package name="filesystem"/>
|
@@ -18,6 +18,9 @@
suseInsertService boot.lvm
suseInsertService slpd
suseInsertService ntp
+suseInsertService ipmi
+suseInsertService puppet
+suseInsertService smartd
# OBS worker
suseInsertService obsworker
suseInsertService obsstoragesetup
@@ -37,6 +40,9 @@
# For save booting, there is some race between blogd and console setup in 11.4 atm
sed -i -e 's/^RUN_PARALLEL=.*/RUN_PARALLEL="no"/' /etc/sysconfig/boot
+# enforce setup of time
+sed -i -e 's/^NTPD_FORCE_SYNC_ON_STARTUP=.*/NTPD_FORCE_SYNC_ON_STARTUP="yes"/' /etc/sysconfig/ntp
+
# configure network
cat >> /etc/sysconfig/network/config <<EOF
@@ -47,6 +53,10 @@
NETCONFIG_NTP_POLICY="auto"
EOF
+# worker greeting string
+echo 'Welcome to OBS Worker Appliance, based on openSUSE - Kernel \r (\l).' > /etc/issue
+echo >> /etc/issue
+
# runlevel 3 as default
sed -i 's/^id:5:initdefault:/id:3:initdefault:/' /etc/inittab
@@ -73,9 +83,9 @@
#======================================
# Add Default Repositories
#--------------------------------------
-zypper ar http://download.opensuse.org/update/12.1/ openSUSE:12.1:Update
-zypper ar http://download.opensuse.org/repositories/openSUSE:12.1/standard openSUSE:12.1
-zypper ar http://download.opensuse.org/repositories/openSUSE:Tools/openSUSE_12.1 openSUSE:Tools
+zypper ar http://download.opensuse.org/update/12.3/ openSUSE:12.3:Update
+zypper ar http://download.opensuse.org/repositories/openSUSE:12.3/standard openSUSE:12.3
+zypper ar http://download.opensuse.org/repositories/OBS:Server:Unstable/openSUSE_12.3 OBS:Server:Unstable
#======================================
# Umount kernel filesystems
|