Subject: Re: [vserver] Preconditions for Debian Lenny 64bit Host with 32/64 bit guests?
From: Christian Bricart <christian@bricart.de>
Date: Mon, 17 May 2010 18:26:41 +0200

Am 17.05.2010 18:21, schrieb ben@bristolwireless.net:
> Quoting "Herbert Poetzl" <herbert@13thfloor.at>:
> 
>>> Hi,
>>
>>> for a 32-bit guest on a 64-bit I would add that you may want to set
>>> the /etc/vservers/<guest name>/uts/machine file to something like i686
>>> in order for compiling on that guest to go well.
>>
>> actually you want to set the personality to 32bit
>> so that not just compiling works fine :)
>> (i.e. setting machine is the wrong approach)
>>
>> best,
>> Herbert
>>
> 
> What is the right approach? How does one set the "personality" of a guest?

# echo "i686" > /etc/vservers/${guest}/uts/machine
# echo "linux_32bit" > /etc/vservers/${guest}/personality

(the latter is the one you've asked for)

Christian