Hello all,
I am attempting to add additional software immediately after a container is created. I am using the script of: https://github.com/tteck/Proxmox/raw/main/ct/debian.sh. I am specifically focusing on the function of:
My logic is that if the apt update and upgrade can be used, then so can the apt install command. I am running the code from a node shell. What am I missing???
I am attempting to add additional software immediately after a container is created. I am using the script of: https://github.com/tteck/Proxmox/raw/main/ct/debian.sh. I am specifically focusing on the function of:
Code:
function update_script() {
header_info
if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating $APP LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
msg_ok "Updated $APP LXC"
exit
}
My logic is that if the apt update and upgrade can be used, then so can the apt install command. I am running the code from a node shell. What am I missing???