mirror of https://github.com/tteck/Proxmox.git
Update create_lxc.sh
This commit is contained in:
parent
5a5b9fb13f
commit
77c140497c
|
@ -147,7 +147,7 @@ msg_ok "Updated LXC Template List"
|
||||||
if [ "$arm64ct" = "yes" ]; then
|
if [ "$arm64ct" = "yes" ]; then
|
||||||
msg_info "Arm64 Detected"
|
msg_info "Arm64 Detected"
|
||||||
msg_info "Downloading LXC Template $PCT_OSTYPE $PCT_OSVERSION"
|
msg_info "Downloading LXC Template $PCT_OSTYPE $PCT_OSVERSION"
|
||||||
pvesm remove ctgrabtmp
|
sudo pvesm status | grep ctgrabtmp && pvesm remove ctgrabtmp
|
||||||
pvesm add dir ctgrabtmp -content vztmpl -path /tmp/ctgrabtmp
|
pvesm add dir ctgrabtmp -content vztmpl -path /tmp/ctgrabtmp
|
||||||
bash <(curl -s https://raw.githubusercontent.com/ArchemedIan/Proxmox-Arm64-Container-Fetcher/main/pimox_image_fetcher.sh) ${PCT_OSTYPE} ${PCT_OSVERSION:-} default /tmp/ctgrabtmp/template/cache 1 > /dev/null
|
bash <(curl -s https://raw.githubusercontent.com/ArchemedIan/Proxmox-Arm64-Container-Fetcher/main/pimox_image_fetcher.sh) ${PCT_OSTYPE} ${PCT_OSVERSION:-} default /tmp/ctgrabtmp/template/cache 1 > /dev/null
|
||||||
TEMPLATE_SEARCH=${PCT_OSTYPE}-${PCT_OSVERSION:-}
|
TEMPLATE_SEARCH=${PCT_OSTYPE}-${PCT_OSVERSION:-}
|
||||||
|
|
Loading…
Reference in New Issue