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
|
if [ "$arm64ct" = "yes" ]; then
|
||||||
msg_info "Downloading And Building LXC Template for Arm64 $PCT_OSTYPE $PCT_OSVERSION"
|
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
|
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
|
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".
|
# This function checks the system architecture and exits if it's not "amd64".
|
||||||
arch_check() {
|
arch_check() {
|
||||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
||||||
#echo -e "\n ${CROSS} Expiramental arm64 support enabled \n"
|
if [ "$(dpkg --print-architecture)" = "arm64" ]; then
|
||||||
msg_info "Experimental Arm64 Support Enabled"
|
msg_info "Experimental Arm64 Support Enabled"
|
||||||
sleep 3
|
|
||||||
msg_ok "Experimental Arm64 Support Enabled"
|
|
||||||
#echo -e "Exiting..."
|
|
||||||
sleep 2
|
sleep 2
|
||||||
#exit
|
|
||||||
arm64ct="yes"
|
arm64ct="yes"
|
||||||
|
msg_ok "Experimental Arm64 Support Enabled"
|
||||||
|
else
|
||||||
|
echo -e "\n ${CROSS} No support for $(dpkg --print-architecture) \n"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue