Added building Ubuntu 20.04 template

This commit is contained in:
2024-09-22 20:13:32 +03:00
parent 36aa9106ea
commit 09aa511791
35 changed files with 629 additions and 123 deletions

5
packer/linux/build-ubuntu-24.04-x64.sh Normal file → Executable file
View File

@ -2,10 +2,10 @@
packer="/usr/bin/packer"
vm_name="x-ubuntu-packer-vm"
vm_name="x-ubuntu24-packer-vm"
# => For logs:
#export PACKER_LOG_PATH=./build-debian-12-amd64.log
#export PACKER_LOG_PATH=./build-ubuntu-24.04-x64.log
export PACKER_LOG=0
creds_vars_file="$HOME/.secret/.packer/vcsrv-creds.pkrvars.hcl"
@ -17,4 +17,3 @@ $packer build -force \
-var-file="$HOME/packer/linux/ubuntu-24.04-x64/conf.pkrvars.hcl" \
-var vm_name=$vm_name \
$HOME/packer/linux/ubuntu-24.04-x64/