]> git.proxmox.com Git - pve-container.git/commit
check sh instead of file for templates architecture type
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 22 Jan 2016 17:34:57 +0000 (18:34 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Sat, 23 Jan 2016 07:54:34 +0000 (08:54 +0100)
commit6cc47cb017efb67e085ed32c2402fc445d6680ba
tree3f94566293c8ebfaae2096cc440b7d70ec1f6643
parent6b689e0b683df9127f005efe2da1fa1b3a26410a
check sh instead of file for templates architecture type

/usr/bin/file may not be available, while that has no high
probability we already had bug reports regarding this.

To ensure better compatibility use /bin/sh which every Linux
has (POSIX 1003.1-2004).

See: http://pubs.opengroup.org/onlinepubs/009695399/utilities/sh.html
src/PVE/LXC/Create.pm