mirror of https://github.com/tteck/Proxmox.git
lil cleanup
This commit is contained in:
parent
df2b04daaf
commit
62f8296800
|
@ -143,6 +143,7 @@ msg_ok "Using ${BL}$CONTAINER_STORAGE${CL} ${GN}for Container Storage."
|
|||
|
||||
if [ "$arm64ct" = "yes" ]; then
|
||||
msg_info "Downloading And Building LXC Template for Arm64 $PCT_OSTYPE $PCT_OSVERSION"
|
||||
msg_ok "Downloading And Building LXC Template for Arm64 $PCT_OSTYPE $PCT_OSVERSION..."
|
||||
sudo pvesm status | grep ctgrabtmp >/dev/null 2>&1&& pvesm remove ctgrabtmp >/dev/null 2>&1
|
||||
pvesm add dir ctgrabtmp -content vztmpl -path /tmp/ctgrabtmp>/dev/null 2>&1
|
||||
|
||||
|
|
|
@ -69,14 +69,15 @@ pve_check() {
|
|||
# This function checks the system architecture and exits if it's not "amd64".
|
||||
arch_check() {
|
||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||
#echo -e "\n ${CROSS} Expiramental arm64 support enabled \n"
|
||||
msg_info "Experimental Arm64 Support Enabled"
|
||||
sleep 3
|
||||
msg_ok "Experimental Arm64 Support Enabled"
|
||||
#echo -e "Exiting..."
|
||||
sleep 2
|
||||
#exit
|
||||
arm64ct="yes"
|
||||
if [ "$(dpkg --print-architecture)" = "arm64" ]; then
|
||||
msg_info "Experimental Arm64 Support Enabled"
|
||||
sleep 2
|
||||
arm64ct="yes"
|
||||
msg_ok "Experimental Arm64 Support Enabled"
|
||||
else
|
||||
echo -e "\n ${CROSS} No support for $(dpkg --print-architecture) \n"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue