[xen-tools] Re: Problem's setting up new machines
mirco.schmidt at mac.com
mirco.schmidt at mac.com
Thu Jun 22 10:37:21 CEST 2006
>
> On Wed, 21 Jun 2006, Steve Kemp wrote:
>
>> On Wed, Jun 21, 2006 at 02:28:26PM +0200, Mirco Schmidt wrote:
>>
>>
>>> ---cut
>>> # This is the command we'll run
>>> #
>>> my $command = "/usr/sbin/debootstrap $VERBOSE $CONFIG{'dist'}
>>> $CONFIG{'location'} $CONFIG{'mirror'} --arch i386";
>>> ---cut
>>
>> Debootstrap is fussy about command line argument order, you must
>> add '--arch xxx' to the *front* of the command line, that is why
>> the $VERBOSE flag is where it is. Trailing arguments get
>> ignored/refused.
I tried to add "2>/tmp/stderr.log >/tmp/stdout.log" to my default
command:
xen-create-image --hostname=intranet --ip=192.168.115.17 --verbose 2>/
tmp/std
err.log >/tmp/stdout.log
but the the stderr.log was empty, and stdout.log told me nothing new.
When running:
/usr/sbin/debootstrap --arch i386 --verbose sarge /xen/domains/test
http://ft
p2.de.debian.org/debian/
all went fine.
> Hi list,
>
> As an added note.
>
> AFAIK: If you have dpkg installed you don't need the arch flag.
I've got dpkg installed on my machine, but the host is x64 and I need
to install i386, that's why I added "--arch i386" to the command when
I ran version 1.x.
Thank's in advance for all the help.
Greetz
Mirco
More information about the xen-tools-discuss
mailing list