Ubuntu 16.04 minimal

MimCom

Active Member
Apr 22, 2011
204
3
38
Southwest NM
The 16.04 template via pveam is a full system, including X.11 and more. I'd like to create a minimal server template and have read the DAB documentation, but I don't quite understand how (or if) I can start from scratch with an ISO to build only what I need. Is this possible, or do I have to start with an existing template and then find and strip out everything I don't need?

Trying to bootstrap, but clearly I'm clearly missing something:
Code:
root@pve1:/var/lib/vz/template/ubuntu.16.04# dab init
no 'architecture' specified

root@pve1:/var/lib/vz/template/ubuntu.16.04# dab init amd64
no 'architecture' specified

root@pve1:/var/lib/vz/template/ubuntu.16.04# dab init Architecture=amd64
no 'architecture' specified

root@pve1:/var/lib/vz/template/ubuntu.16.04# dab Architecture:amd64
no 'architecture' specified

root@pve1:/var/lib/vz/template/ubuntu.16.04# dab bootstrap --minimal
no 'architecture' specified
 
Last edited:
the configuration is read from the file "dab.conf"

see also the man page
Code:
man dab

especially the "configuration" section
 
the current working directory where you call the dab tool
 
I must be missing something...
Code:
root@pve1:/var/lib/vz/template/ubuntu.16.04# ls -l

total 4
-rw-r--r-- 1 root root   0 Jan  2 16:01 logfile
-rw-r--r-- 1 root root 604 Jan  2 16:18 ubuntu-xenial-standard-64_dab.conf



root@pve1:/var/lib/vz/template/ubuntu.16.04# dab init

no 'architecture' specified


root@pve1:/var/lib/vz/template/ubuntu.16.04# cat ubuntu-xenial-standard-64_dab.conf

Suite: xenial
CacheDir: ../cache
#Source: http://archive.ubuntu.com/ubuntu SUITE main restricted universe multiverse
#Source: http://archive.ubuntu.com/ubuntu SUITE-updates main restricted universe multiverse
#Source: http://archive.ubuntu.com/ubuntu SUITE-security main restricted universe multiverse
Architecture: amd64
Name: ubuntu-16.04-standard
Version: 16.04-1
Section: system
Maintainer: Proxmox Support Team <support@proxmox.com>
Infopage: http://pve.proxmox.com/wiki/Ubuntu_Xenial_Standard
Description: Ubuntu Xenial (standard)
A small Ubuntu Xenial system including all standard packages.


root@pve1:/var/lib/vz/template/ubuntu.16.04#


BTW, the infopage link there does not work.
 
the config file has to be literally named: "dab.conf" without anything else in the filename