File tree Expand file tree Collapse file tree 4 files changed +4
-1
lines changed
Expand file tree Collapse file tree 4 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ build {
4141 script = " .packer/machinefile.sh"
4242 environment_vars = [
4343 " TARGET=debian-cloud" ,
44+ " USER_PASSWORD=password" ,
4445 " SSH_HOST=${ build . Host } " ,
4546 " SSH_PORT=${ build . Port } " ]
4647 }
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ build {
4141 script = " .packer/machinefile.sh"
4242 environment_vars = [
4343 " TARGET=fedora-cloud" ,
44+ " USER_PASSWORD=password" ,
4445 " SSH_HOST=${ build . Host } " ,
4546 " SSH_PORT=${ build . Port } " ]
4647 }
Original file line number Diff line number Diff line change 11#! /bin/sh
22
3- machinefile --host ${SSH_HOST} --port ${SSH_PORT} --user root --password password .packer/${TARGET} /Machinefile .
3+ machinefile --host ${SSH_HOST} --port ${SSH_PORT} --user root --password password .packer/${TARGET} /Machinefile --arg=USER_PASSWD= ${USER_PASSWORD} .
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ build {
4141 script = " .packer/machinefile.sh"
4242 environment_vars = [
4343 " TARGET=ubuntu-cloud" ,
44+ " USER_PASSWORD=password" ,
4445 " SSH_HOST=${ build . Host } " ,
4546 " SSH_PORT=${ build . Port } " ]
4647 }
You can’t perform that action at this time.
0 commit comments