OpenVZ Forum


Home » Mailing lists » Users » Scripting ve creation
Re: Scripting ve creation [message #15361 is a reply to message #15353] Sat, 28 July 2007 01:59 Go to previous messageGo to previous message
Steve Hodges is currently offline  Steve Hodges
Messages: 17
Registered: July 2007
Junior Member
The file is on my web server

http://steve-is-mucking-about.sexypenguins.com/out.gz

I noticed that the command did not terminate and had to be killed (I
tried it a number of times with the same result)

the command I used was

vzctl exec 101 strace -f -o /tmp/out apt-get install exim4 -y

thanks

Steve

On 27/07/2007 9:56 PM, Kirill Korotaev wrote:
> Can you please run the following command:
> # vzclt exec 110 strace -f -o /tmp/out apt-get install exim4
> and send me /tmp/out file (it will be created inside VE)?
>
> Thanks,
> Kirill
> P.S. it may require installing strace package first.
>
> Steve Hodges wrote:
>
>> I'm trying to script the creation of a number of VEs. The template is a
>> minimal Debian Etch.
>>
>> part of what I'm trying to do is thinks like:
>>
>> vzctl exec 110 apt-get install exim4
>>
>> exim is one of those packages that wants to run dpkg-configure as part
>> of the install (actually I think it's dpkg-preconfigure, but it's the
>> same sort of thing)
>>
>> When it gets to that stage it complains that it "can't re-open stdin"
>> and generally fails to complete the install.
>>
>> Is there any way of executing a whole series of commands like this
>> without having to run them all manually. Some things have to be done
>> from outside the VE too, so just running a script in the VE is
>> problematic :-(
>>
>> Steve
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: openvz with latest stable kernel release
Next Topic: openvz and 2.6.20
Goto Forum:
  


Current Time: Wed Oct 01 18:50:01 GMT 2025

Total time taken to generate the page: 0.13249 seconds