mirror of https://github.com/tteck/Proxmox.git
Update create_lxc.sh
This commit is contained in:
parent
770cabd25c
commit
17f4df756e
|
@ -136,7 +136,14 @@ msg_info "Updating LXC Template List"
|
||||||
pveam update >/dev/null
|
pveam update >/dev/null
|
||||||
msg_ok "Updated LXC Template List"
|
msg_ok "Updated LXC Template List"
|
||||||
|
|
||||||
if [ "$arm64ct" = "yes" ]; then
|
|
||||||
|
if [ "$(dpkg --print-architecture)" = "arm64" ]; then
|
||||||
|
arm64ct="yes"
|
||||||
|
else
|
||||||
|
arm64ct="no"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$(dpkg --print-architecture)" = "yes" ]; then
|
||||||
msg_info "Arm64 Detected"
|
msg_info "Arm64 Detected"
|
||||||
msg_info "Downloading LXC Template"
|
msg_info "Downloading LXC Template"
|
||||||
pvesm add dir ctgrabtmp -content vztmpl -path /tmp/ctgrabtmp
|
pvesm add dir ctgrabtmp -content vztmpl -path /tmp/ctgrabtmp
|
||||||
|
|
Loading…
Reference in New Issue