Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Debian 8.0 (Jessie) OpenVZ Template - 64bit (Download Link Inside)
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Debian 8.0 (Jessie) OpenVZ Template - 64bit (Download Link Inside)

rmlhhdrmlhhd Member
edited May 2015 in General

I've created a Debian 8.0 Jessie amd64 OpenVZ template which can be downloaded from here -

https://tmp.rmlh.uk/debian-8.0-amd64-minimal.tar.gz

I'll create a 32bit version and update this discussion shortly.

I created this since there's no official downloads and I can't find any "working" templates anywhere else

Thanked by 2yomero FredQc

Comments

  • Built these awhile ago. Just never published them xD

  • Dear lord, what did you have to do to make such a modern OS work on such an ancient kernel?

    Thanked by 1MikePT
  • @mpkossen said:
    Dear lord, what did you have to do to make such a modern OS work on such an ancient kernel?

    Debootstrap works fine with Jessie

  • yomeroyomero Member
    edited May 2015

    I will say the same that the Openvz people says. That isn't an old kernel at all, it has been patched with the features of the mainstream kernels.

    Maybe, maybe not, but I see it kinda like a separate branch of the linux kernels.

    @rmlhhd Thank you! I will wait for the 32 bit one.

  • SpeedBusSpeedBus Member, Host Rep

    How'd you get the SSH key generation to work? Somehow for me http://openvz.org/Debian_template_creation#Fix_SSH_host_keys just doesn't execute on bootup

  • FredQcFredQc Member

    Installed on Proxmox. Working great! Thank you.

  • rmlhhdrmlhhd Member

    @SpeedBus said:
    How'd you get the SSH key generation to work? Somehow for me http://openvz.org/Debian_template_creation#Fix_SSH_host_keys just doesn't execute on bootup

    To be honest I didn't check that, it wasn't working so anyone who's downloaded the template will need to update it. I've fixed the issue and uploaded the new template.

    I've got it to generate those keys via rc.local

    Thanked by 1SpeedBus
  • rmlhhdrmlhhd Member

    @FredQc @yomero please re-download the template ASAP I've updated it with a working sshkey generation.

    Thanked by 2yomero FredQc
  • SpeedBusSpeedBus Member, Host Rep

    rmlhhd said: To be honest I didn't check that, it wasn't working so anyone who's downloaded the template will need to update it. I've fixed the issue and uploaded the new template.

    I've got it to generate those keys via rc.local

    So the same script but in rc.local ? or?

  • rmlhhdrmlhhd Member
    edited May 2015

    @SpeedBus said:
    So the same script but in rc.local ? or?

    Yes... I copied the original rc.local to rc.local.bak then edited rc.local with the first boot commands which then deletes the edited rc.local and moves the .bak file to rc.local

    #!/bin/sh -e
    #
    # rc.local
    #
    # This script is executed at the end of each multiuser runlevel.
    # Make sure that the script will "exit 0" on success or any other
    # value on error.
    #
    # In order to enable or disable this script just change the execution
    # bits.
    #
    # By default this script does nothing.
    
    ssh-keygen -f /etc/ssh/ssh_host_rsa_key -t rsa -N ''
    ssh-keygen -f /etc/ssh/ssh_host_dsa_key -t dsa -N ''
    rm -f \$0
    
    rm /etc/rc.local
    mv /etc/rc.local.bak /etc/rc.local
    
    exit 0
    
    Thanked by 1SpeedBus
  • miTgiBmiTgiB Member

    @rmlhhd said:

    You could use sed to be cleaner, but you way does get the job done

Sign In or Register to comment.