Get Appliance Info: Difference between revisions

From Proxmox VE
Jump to navigation Jump to search
Line 2: Line 2:
All OpenVZ appliance templates created with [[Debian Appliance Builder]] will have the <tt>dab.conf</tt> file embedded in them as <tt>./etc/appliance.info</tt> - the leading <tt>./</tt> is important as that is the way it has been archived.
All OpenVZ appliance templates created with [[Debian Appliance Builder]] will have the <tt>dab.conf</tt> file embedded in them as <tt>./etc/appliance.info</tt> - the leading <tt>./</tt> is important as that is the way it has been archived.


A cocatenation of all such <tt>appliance.info</tt> files separated by atleast 1 newline each along with '''Location''' and '''md5sum''' lines and removal of the '''Architecture''', '''Installed-Size''' and '''Source''' lines is what essentially makes up the content of the <tt>/var/lib/pve-manager/apl-info/apl-available</tt> file (in PVE v1.x, the '''apl-info''' folder is not present and hence removed from the path listed here).
A concatenation of all such <tt>appliance.info</tt> files separated by atleast 1 newline each along with '''Location''' and '''md5sum''' lines and removal of the '''Architecture''', '''Installed-Size''' and '''Source''' lines is what essentially makes up the content of the <tt>/var/lib/pve-manager/apl-info/apl-available</tt> file (in PVE v1.x, the '''apl-info''' folder is not present and hence removed from the path listed here).


== Linux file extraction from tar.gz archive ==
== Linux file extraction from tar.gz archive ==
The following will serve as a tutorial on linux '''tar''' file creation and selective extraction and concatenation.
The following will serve as a tutorial on linux '''tar''' file creation and selective extraction and concatenation.

Revision as of 09:55, 3 November 2014

Introduction

All OpenVZ appliance templates created with Debian Appliance Builder will have the dab.conf file embedded in them as ./etc/appliance.info - the leading ./ is important as that is the way it has been archived.

A concatenation of all such appliance.info files separated by atleast 1 newline each along with Location and md5sum lines and removal of the Architecture, Installed-Size and Source lines is what essentially makes up the content of the /var/lib/pve-manager/apl-info/apl-available file (in PVE v1.x, the apl-info folder is not present and hence removed from the path listed here).

Linux file extraction from tar.gz archive

The following will serve as a tutorial on linux tar file creation and selective extraction and concatenation.