Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo OpenVZ templates
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
delan
n00b
n00b


Joined: 01 May 2011
Posts: 15

PostPosted: Sun May 01, 2011 3:42 am    Post subject: Gentoo OpenVZ templates Reply with quote

Hi everyone,

I'm interested in improving the situation of OpenVZ templates for Gentoo. Currently, the latest OpenVZ template for Gentoo that I can find is the 2008.0 one by Daniel Robbins. It's quite old and that makes it a bit more difficult to upgrade (profile issues, etc.). So I am working on a script that can convert stage3 tarballs into OpenVZ templates.

The great thing is, is that it works. Well, the other great thing is, is that unlike following the crazy hacks on many configuration files from the OpenVZ wiki, which is unmaintainable (too many files to track) and breaks when updating to baselayout-2, this script takes advantage of baselayout-2's rc_sys variable by first updating the template to baselayout-2 then applying the single configuration change needed. Plus all the other things like enabling ssh, locking the root password by default, etc.

Any questions? Suggestions? I'd be glad to take advice and answer any comments. Hopefully we can improve the state of Gentoo on OpenVZ!

Major features:

  • baselayout-2 compatible
  • upgradable configuration changes
  • uses host's /usr/portage if found
  • adds sshd to default runlevel
  • installs dhcpcd
  • upgrades stage3 to baselayout-2


You can find the latest version of the script here: http://azabani.com/cgit.cgi/gentoovz/plain/gentoovz

For more information: http://azabani.com/gentoovz/

My first successful template, published: gentoo-openvz-stage3-amd64-20110428.tar.gz

These templates are already being used by Fanatical, my VPS provider. If you want to see these available on your VPSes, just let your administrator know, they can add it quickly.
Back to top
View user's profile Send private message
delan
n00b
n00b


Joined: 01 May 2011
Posts: 15

PostPosted: Sun May 29, 2011 2:54 pm    Post subject: Reply with quote

Since the stabilisation of baselayout-2, and the subsequent release of a long awaited, new stage3 tarball, I've also created an OpenVZ template for that:

http://azabani.com/gentoovz/gentoo-openvz-stage3-amd64-20110520.tar.gz
Back to top
View user's profile Send private message
chris972
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2012
Posts: 97

PostPosted: Tue Mar 20, 2012 8:30 pm    Post subject: Reply with quote

dead ?
Back to top
View user's profile Send private message
thoughtform
Guru
Guru


Joined: 24 May 2004
Posts: 586
Location: east coast USA

PostPosted: Sun Jul 08, 2012 10:45 pm    Post subject: Reply with quote

I would love to send a template to my provider.
Anyone got a link?

:?:
Back to top
View user's profile Send private message
zeek
Guru
Guru


Joined: 16 Nov 2002
Posts: 478
Location: Bantayan Island

PostPosted: Wed Aug 22, 2012 6:27 am    Post subject: Reply with quote

Can't you just use a stage3 these days?
Back to top
View user's profile Send private message
jormartr
Apprentice
Apprentice


Joined: 02 Jan 2008
Posts: 174

PostPosted: Wed Aug 22, 2012 9:39 pm    Post subject: Reply with quote

zeek wrote:
Can't you just use a stage3 these days?


That's what I do, and I've not found anything wrong with it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum