Add playbooks to role os-linux-prep-default
This commit is contained in:
3
packer/linux/build-ubuntu-24.04-x64.sh
Executable file → Normal file
3
packer/linux/build-ubuntu-24.04-x64.sh
Executable file → Normal file
@ -2,6 +2,8 @@
|
||||
|
||||
packer="/usr/bin/packer"
|
||||
|
||||
vm_name="x-ubuntu-packer-vm"
|
||||
|
||||
# => For logs:
|
||||
#export PACKER_LOG_PATH=./build-debian-12-amd64.log
|
||||
export PACKER_LOG=0
|
||||
@ -13,5 +15,6 @@ $packer init $HOME/packer/linux/ubuntu-24.04-x64/
|
||||
$packer build -force \
|
||||
-var-file="$creds_vars_file" \
|
||||
-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