TurnKey Linux Virtual Appliance Library

TKL 13.0RC openvz

Hans Harder's picture

Is it possible to get an openvz tar of the TKL 13.0RC 64bit version.

 

Is there a script available which you use for the TKL 12.0 version to convert to a openvz version

Otherwise I will try to modify this weekend the old TKLpatch from Jeremy  and see if I can generate an openvz/lxc RC version.

Hans Harder's picture

Ok, I used the tklpatch to

Ok, I used the tklpatch to get a openvz/lxc  tar file from the 13.0RC 64bit iso file... it is just a bit larger than the iso.

Basicly clean up rc*.d startups, confconsole disabled (luckily no upstart anymore), replaced rsyslog with syslog-ng, removed unneeded packages, added inithooks interactive.d and moved some interactive firstboot.d scripts to interactive.d 

I will check on monday if its running nicely on lxc (then I have access to a 64bit machine with lxc installed, I don't have openvz)...


Hans Harder's picture

OK, works like a charm I have

OK, works like a charm

I have now got a TKL13.0RC 64bit running in Virtualbox and inside I have running in a LXC container another TKL13.0RC 64bit.

root@core ~# cat /etc/turnkey_version
turnkey-core-13.0rc-wheezy-amd64
root@core ~# lxc-console -n test
Type <Ctrl+a q> to exit the console, <Ctrl+a Ctrl+a> to enter Ctrl+a itself
.
Debian GNU/Linux 7.0 core tty1
core login: root
Password:
Last login: Sun Jan 27 21:06:34 UTC 2013 on tty1
Linux core 3.2.0-4-amd64 #1 SMP Debian 3.2.35-2 x86_64
Welcome to Core, TurnKey Linux 13.0rc / Debian 7.0 Wheezy
.
  System information (as of Sun Jan 27 21:21:25 2013)
.
    System load:  0.00              Memory usage:  7%
    Processes:    13                Swap usage:    0%
    Usage of /:   23.2% of 5.89GB   IP address for eth0:  192.168.1.211
.
root@core ~# ps -ef
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 21:02 ?        00:00:00 init [3]
root      1325     1  0 21:02 ?        00:00:00 supervising syslog-ng
root      1327  1325  0 21:02 ?        00:00:00 /usr/sbin/syslog-ng -p /var/run/syslog-ng.pid
root      1400     1  0 21:02 ?        00:00:00 /usr/sbin/sshd
root      1408     1  0 21:02 ?        00:00:00 /usr/sbin/cron
root      1445     1  0 21:02 console  00:00:00 /sbin/getty --noclear 38400 console
root      1447     1  0 21:02 tty2     00:00:00 /sbin/getty 38400 tty2 linux
root      1846     1  0 21:12 tty1     00:00:00 /bin/login --
root      1882  1846  0 21:21 tty1     00:00:00 -bash
root      1927  1882  0 21:28 tty1     00:00:00 ps -ef
root@core ~#

Removed the shellinabox and webmin in the container. Only thing is that the shutdown and reboot hangs, so it needs some debugging.

But overall..... nice, realy nice...


Alon Swartz's picture

This is great Hans!

As I posted on a related thread, I've started looking into TurnKey support for LXC (and docker). I'd be interested if you could share your notes (exactly what you added/removed/changed), experience (issues, bugs, etc.) and ideas (what would make for the perfect image).

[update]: TurnKey LXC support is out - see the announcement for details.

Jeremy's picture

Nice work Hans

Great to hear that you have the v13.0RC build working in LXC! :)

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)