OpenVZ Forum


Home » Mailing lists » Users » 1/2 OT: installing vz images remotely
1/2 OT: installing vz images remotely [message #11399] Thu, 22 March 2007 15:56 Go to next message
Enrico Weigelt is currently offline  Enrico Weigelt
Messages: 31
Registered: July 2006
Member
Hi folks,


I've hired some openVZ based virtual servers and I'd like to build
my whole image with an sysroot'ed (cross-)toolchain - what comes
out is an tarball with the complete system image.

The problem: the providers don't allow to pull in own templates,
just reinstall from their prebuilt images (ie. stripped down
debian, redhat or suse).

My idea was to build an statically linked busybox and some little
shell script, which just wipes out the existing system and unpacks
my tarball.

Has anyone already did this ? Any hints for that ?


thx
--
------------------------------------------------------------ ---------
Enrico Weigelt == metux IT service - http://www.metux.de/
------------------------------------------------------------ ---------
Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
------------------------------------------------------------ ---------
Re: 1/2 OT: installing vz images remotely [message #11400 is a reply to message #11399] Thu, 22 March 2007 16:13 Go to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

I don't forsee any problems here...
1. just unpack tar archive with tar utility,
2. then remove all the files which are not in .tar archive

(maybe statically linked tar will be required... though unlikely)

Kirill

> Hi folks,
>
>
> I've hired some openVZ based virtual servers and I'd like to build
> my whole image with an sysroot'ed (cross-)toolchain - what comes
> out is an tarball with the complete system image.
>
> The problem: the providers don't allow to pull in own templates,
> just reinstall from their prebuilt images (ie. stripped down
> debian, redhat or suse).
>
> My idea was to build an statically linked busybox and some little
> shell script, which just wipes out the existing system and unpacks
> my tarball.
>
> Has anyone already did this ? Any hints for that ?
>
>
> thx
Previous Topic: Is there a way to convert a standalone linux box to a VPS?
Next Topic: Is apt-get really such a hog or am I doing something wrong? Debian issue
Goto Forum:
  


Current Time: Sat Jul 27 14:51:45 GMT 2024

Total time taken to generate the page: 0.02824 seconds