Re: faking arch [message #3955 is a reply to message #3937] |
Mon, 26 June 2006 02:27 |
dlzinc
Messages: 34 Registered: March 2006
|
Member |
|
|
The uname script only works for things that actually call /bin/uname. At the moment, I've replaced /bin/bash with a slightly modified setarch that setarch's then runs the real bash. Is there a bug open or version-eta for the vzctl setarch feature?
Something interesting...
If I do:
setarch i686 vzctl start 200
then SSH into the VPS and do uname -ar, it will say i686. If I do vzctl enter 200, it'll say x86_64.
So for now, a "cleaner" solution seems to be doing setarch to vzctl.
|
|
|