Templates

Bestbeast

Well-Known Member
Jul 29, 2016
163
5
58
29
Hello,

I wanted to know where can I download official lxc templates, or if the openvz templates are compatible or not.
Also wanted to know what is the difference between lxc and lxd and why proxmox is pct instead of lxc commands, really a bit confused on all this changes in 4.0.

Waiting your answer,
Pedro
 
Also @dietmar some other people have suggested me to create my own templates for security reasons, do you have any easy manual to do this?
 
I have tried to follow the manual and got this:

allocated VE c67715aa-2991-4387-9f02-2c154cdfca3e
download: http://ftp.debian.org/debian/dists/lenny/Release
Release info ignored
download: http://ftp.debian.org/debian/dists/lenny/main/binary-i386/Packages.gz
command 'wget -q 'http://ftp.debian.org/debian/dists/lenny/main/binary-i386/Packages.gz' -O 'info/ftp.debian.org_debian_dists_lenny_main_binary-i386_Packages.gz.tmp24618'' failed with exit code 8
command 'wget -q 'http://ftp.debian.org/debian/dists/lenny/main/binary-i386/Packages.gz' -O 'info/ftp.debian.org_debian_dists_lenny_main_binary-i386_Packages.gz.tmp24618'' failed with exit code 8
 
Also tried with this dab.conf: https://git.proxmox.com/?p=dab-pve-...5;hb=1dcec4cf539938481633d9b25715f9e24dd09542

But received also this log:
download: http://archive.ubuntu.com/ubuntu/dists/yakkety/Release
download: http://archive.ubuntu.com/ubuntu/dists/yakkety/Release.gpg
download: http://archive.ubuntu.com/ubuntu/dists/yakkety/main/binary-amd64/Packages.gz
download: http://archive.ubuntu.com/ubuntu/dists/yakkety/restricted/binary-amd64/Packages.gz
download: http://archive.ubuntu.com/ubuntu/dists/yakkety/universe/binary-amd64/Packages.gz
download: http://archive.ubuntu.com/ubuntu/dists/yakkety/multiverse/binary-amd64/Packages.gz
download: http://archive.ubuntu.com/ubuntu/dists/yakkety-updates/Release
download: http://archive.ubuntu.com/ubuntu/dists/yakkety-updates/Release.gpg
download: http://archive.ubuntu.com/ubuntu/dists/yakkety-updates/main/binary-amd64/Packages.gz
download: http://archive.ubuntu.com/ubuntu/dists/yakkety-updates/restricted/binary-amd64/Packages.gz
download: http://archive.ubuntu.com/ubuntu/dists/yakkety-updates/universe/binary-amd64/Packages.gz
download: http://archive.ubuntu.com/ubuntu/dists/yakkety-updates/multiverse/binary-amd64/Packages.gz
download: http://archive.ubuntu.com/ubuntu/dists/yakkety-security/Release
download: http://archive.ubuntu.com/ubuntu/dists/yakkety-security/Release.gpg
download: http://archive.ubuntu.com/ubuntu/dists/yakkety-security/main/binary-amd64/Packages.gz
download: http://archive.ubuntu.com/ubuntu/dists/yakkety-security/restricted/binary-amd64/Packages.gz
download: http://archive.ubuntu.com/ubuntu/dists/yakkety-security/universe/binary-amd64/Packages.gz
download: http://archive.ubuntu.com/ubuntu/dists/yakkety-security/multiverse/binary-amd64/Packages.gz
dab: bootstrap
initialize VE 8234d449-e274-48c6-bcf5-546fbc115b8b
generating available package list
no such package 'systemd-shim' at /usr/share/perl5/PVE/DAB.pm line 1030.

I am really lost
 
Yes, you should create your own templates with dab which works very good. Maybe you need to update the package to a new version to get it to work with ubuntu.

BTW: Why are you referring "minimal" to Ubuntu?
 
Yes, you should create your own templates with dab which works very good. Maybe you need to update the package to a new version to get it to work with ubuntu.

BTW: Why are you referring "minimal" to Ubuntu?
The problem is that dab is not working I am getting that errors, and I am a bit lost with dab, do not know really how it works.
I refer to minimal ubuntu as the ubuntu that does not come with preinstalled servers like apache one and so on. For example openvz had minimal SO
 
The problem is that dab is not working I am getting that errors, and I am a bit lost with dab, do not know really how it works.

It is very easy, just read the wiki and also in the forum. yakkety works out-oft-the-box for me. No errors or problems:

Code:
root@container-storage /nfs-export/dab-pve-appliances/ubuntu-yakkety > make 2>&1 | tee -a build.log
allocated VE 693856e5-15d2-413e-a56f-5d18d1b2bcfa
dab init
download: http://archive.ubuntu.com/ubuntu/dists/yakkety/Release
download: http://archive.ubuntu.com/ubuntu/dists/yakkety/Release.gpg
download: http://archive.ubuntu.com/ubuntu/dists/yakkety/main/binary-amd64/Packages.gz
download: http://archive.ubuntu.com/ubuntu/dists/yakkety/restricted/binary-amd64/Packages.gz
download: http://archive.ubuntu.com/ubuntu/dists/yakkety/universe/binary-amd64/Packages.gz
download: http://archive.ubuntu.com/ubuntu/dists/yakkety/multiverse/binary-amd64/Packages.gz
download: http://archive.ubuntu.com/ubuntu/dists/yakkety-updates/Release
download: http://archive.ubuntu.com/ubuntu/dists/yakkety-updates/Release.gpg
download: http://archive.ubuntu.com/ubuntu/dists/yakkety-updates/main/binary-amd64/Packages.gz
download: http://archive.ubuntu.com/ubuntu/dists/yakkety-updates/restricted/binary-amd64/Packages.gz
download: http://archive.ubuntu.com/ubuntu/dists/yakkety-updates/universe/binary-amd64/Packages.gz
download: http://archive.ubuntu.com/ubuntu/dists/yakkety-updates/multiverse/binary-amd64/Packages.gz
download: http://archive.ubuntu.com/ubuntu/dists/yakkety-security/Release
download: http://archive.ubuntu.com/ubuntu/dists/yakkety-security/Release.gpg
download: http://archive.ubuntu.com/ubuntu/dists/yakkety-security/main/binary-amd64/Packages.gz
download: http://archive.ubuntu.com/ubuntu/dists/yakkety-security/restricted/binary-amd64/Packages.gz
download: http://archive.ubuntu.com/ubuntu/dists/yakkety-security/universe/binary-amd64/Packages.gz
download: http://archive.ubuntu.com/ubuntu/dists/yakkety-security/multiverse/binary-amd64/Packages.gz
touch info/init_ok
dab bootstrap --minimal
initialize VE 693856e5-15d2-413e-a56f-5d18d1b2bcfa
generating available package list
create basic environment
initialize ld cache
installing packages
install: base-files
....
unpack: libreadline7
configure important packages
dab finalize
cleanup package status
update available package list
detecting final size: 382 MB
creating final appliance archive

Not so minimal if you ask me, but hey you want Ubuntu.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!