Added building Ubuntu 20.04 template
This commit is contained in:
5
packer/linux/build-ubuntu-24.04-x64.sh
Normal file → Executable file
5
packer/linux/build-ubuntu-24.04-x64.sh
Normal file → Executable 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/
|
||||
|
||||
|
Reference in New Issue
Block a user