From 9c3aa7bcb98182c69c65937ea8d88aba4bb3d334 Mon Sep 17 00:00:00 2001 From: "ITmail.dk v/ Martin Andersen" Date: Wed, 14 Feb 2024 20:26:55 +0100 Subject: [PATCH] EDIT ADD PATH and Crontab --- proxmox_debian-cloud-image-vm-template.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/proxmox_debian-cloud-image-vm-template.sh b/proxmox_debian-cloud-image-vm-template.sh index 7af9242..208a6fb 100644 --- a/proxmox_debian-cloud-image-vm-template.sh +++ b/proxmox_debian-cloud-image-vm-template.sh @@ -1,4 +1,9 @@ -#!/bin/sh +#!/bin/bash +export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + +#crontab -e +#0 1 * * 6 /root/Create_Debian-Cloud-VM.sh + #Proxmox - Debian-Cloud-Image VM Template URLIMG="https://cloud.debian.org/images/cloud/bookworm/latest" IMGFILENAME="debian-12-generic-amd64.qcow2"