]> git.proxmox.com Git - mirror_lxc.git/commit
output lxc.arch as i686 for PER_LINUX32
authorDwight Engen <dwight.engen@oracle.com>
Mon, 28 Apr 2014 20:51:06 +0000 (16:51 -0400)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 28 Apr 2014 21:18:00 +0000 (16:18 -0500)
commit1462279962cb8708010a5ed5cbb0e043a610c71c
tree296c311f566752830f4f8284819868c576811e29
parentbb8d8207c36402ba1282081963b3dcd3356452ec
output lxc.arch as i686 for PER_LINUX32

When outputing the lxc.arch setting, use i686 instead of x86 since the
later is not a valid input to setarch, nor will the kernel output
UTS_MACHINE as x86. The kernel sets utsname.machine to i[3456]86, which
all map to PER_LINUX32.

Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/confile.c