mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-06 10:13:10 +00:00
templates: switch from arch command to uname -m
Signed-off-by: Michael Werner <xaseron@googlemail.com> Acked-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
cdd01be26e
commit
4849ab991b
@ -687,7 +687,7 @@ if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
arch=$(arch)
|
||||
arch=$(uname -m)
|
||||
eval set -- "$options"
|
||||
while true
|
||||
do
|
||||
|
@ -1163,7 +1163,7 @@ if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
arch=$(arch)
|
||||
arch=$(uname -m)
|
||||
eval set -- "$options"
|
||||
while true
|
||||
do
|
||||
|
@ -79,7 +79,7 @@ die()
|
||||
set_default_arch()
|
||||
{
|
||||
printf "### set_default_arch: default arch/variant autodetect...\n"
|
||||
arch=$(arch)
|
||||
arch=$(uname -m)
|
||||
if [[ $arch =~ i.86 ]]; then
|
||||
arch="x86"
|
||||
variant="x86"
|
||||
|
Loading…
Reference in New Issue
Block a user