Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
libvirt.8091
dba3432b-virt-lxc-convert-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba3432b-virt-lxc-convert-fix.patch of Package libvirt.8091
From 236a18572216a35f742824f4056108245fac3082 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= <cbosdonnat@suse.com> Date: Fri, 4 Jul 2014 15:57:17 +0200 Subject: [PATCH] virt-lxc-convert: make free return values in bytes --- examples/lxcconvert/virt-lxc-convert | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: libvirt-1.2.5/examples/lxcconvert/virt-lxc-convert =================================================================== --- libvirt-1.2.5.orig/examples/lxcconvert/virt-lxc-convert +++ libvirt-1.2.5/examples/lxcconvert/virt-lxc-convert @@ -64,7 +64,7 @@ if test -r "$fstab"; then sed 's/^\([^#]\)/lxc.mount.entry = \1/' "$fstab" >>"${conf_new}" fi -memory=$(free | sed -n '/Mem:/s/ \+/ /gp' | cut -f 2 -d ' ') +memory=$(free -b | sed -n '/Mem:/s/ \+/ /gp' | cut -f 2 -d ' ') default_tmpfs="size=$((memory/2))" # Do we have tmpfs without size param?
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