We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f11dd56 commit b9997d0Copy full SHA for b9997d0
Makefile
@@ -17,6 +17,7 @@ unit:
17
18
accept: install
19
# start vbox machine for ssh communicator testing
20
+ # export PKR_VAR_password=
21
@PACKER_ACC=1 go test -v ./main_test.go -timeout=1m
22
23
install-packer-sdc:
fixtures/test.pkr.hcl
@@ -1,5 +1,5 @@
1
packer {
2
- required_version = "~> 1.10.0"
+ required_version = "~> 1.13.0"
3
4
required_plugins {
5
docker = {
@@ -13,12 +13,14 @@ packer {
13
}
14
15
16
+variable "password" {}
+
# use local device with null provider
source "null" "vbox" {
ssh_host = "127.0.0.1"
ssh_port = "10022"
ssh_username = "vagrant"
- ssh_agent_auth = true
+ ssh_password = var.password
24
25
26
# use ubuntu:latest docker image with docker provider
0 commit comments