Packer: don't source non-existing file in worker_executor.sh
The /tmp/cloud_init_vars is not created on the worker executor, so sourcing it will make the script fail. Comment the line out, until we change the worker implementation to inject this file into the worker executor using cloud-init. Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
86e19bf198
commit
7c42924ffa
1 changed files with 2 additions and 1 deletions
|
|
@ -2,7 +2,8 @@
|
|||
set -euo pipefail
|
||||
|
||||
source /etc/os-release
|
||||
source /tmp/cloud_init_vars
|
||||
# TODO: uncomment, when the cloud_init_vars file is created on the executor
|
||||
#source /tmp/cloud_init_vars
|
||||
|
||||
# Don't subscribe on fedora
|
||||
if [ "$ID" != fedora ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue