Changes of Revision 29
[-] [+] | Changed | j0ke-worker.spec |
[-] [+] | Changed | obsworker ^ |
@@ -168,7 +168,7 @@ fi if [ ! -z $obsopt ];then if [ "$OBS_WORKER_USE_LVM" == "yes" ] ; then - xen_opts="--xendevice /dev/abuild/${I}_root --xenswap /dev/abuild/${I}_swap" + xen_opts="--xendevice /dev/abuild/${I}_root --xenswap /dev/abuild/${I}_swap --vm-memory $XEN_MEMX" lvdisplay abuild >& /dev/null || exit lvm lvcreate -n ${I}_root -L ${XEN_ROOT}M abuild ${pvs[$(( $pv_idx + $o1 ))]} || exit lvm lvcreate -n ${I}_swap -L ${XEN_SWAP}M abuild ${pvs[$(( $pv_idx + $o2 ))]} || exit @@ -181,7 +181,7 @@ o2=$a fi else - xen_opts="--xendevice $ROOT/root_$I/root --xenswap $ROOT/root_$I/swap" + xen_opts="--xendevice $ROOT/root_$I/root --xenswap $ROOT/root_$I/swap --vm-memory $XEN_MEMX" dd if=/dev/zero of=$ROOT/root_$I/root bs=1M seek=$XEN_ROOT count=1 dd if=/dev/zero of=$ROOT/root_$I/swap bs=1M seek=$XEN_SWAP count=1 echo $XEN_MEMX > $ROOT/root_$I/memory |