Remove system_reseal_local_env.sh call 87/51587/2
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 8 Feb 2017 21:22:31 +0000 (16:22 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 8 Feb 2017 21:33:46 +0000 (16:33 -0500)
The script provides an invalid local path when called from packer.
Packer actually pushes the script into the system as a randomly named
file in /tmp preventing us from actually calling ./script_2. This breaks
our packer builds and is not a working configuration.

See: https://trello.com/c/0aVtSTuR
Change-Id: I64eba9e703e07dc1b637c9f10d3e661739049580
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
packer/provision/system_reseal.sh
packer/provision/system_reseal_local_env.sh [deleted file]

index 865fc935bf650d18a1023386853e05d1cd6437d4..f8bc7dc5f9b4b865df8ebf7c06eb617c3fa3bb98 100644 (file)
@@ -32,10 +32,6 @@ rm -rf /var/lib/cloud/*
 # clean-up any manual packer uploads
 rm -rf /tmp/packer
 
-# add local script for remote environments
-
-./system_reseal_local_env.sh
-
 # Force a system sync and sleep to get around any SSD issues
 echo "Forcing sync and sleep for 10sec"
 sync
diff --git a/packer/provision/system_reseal_local_env.sh b/packer/provision/system_reseal_local_env.sh
deleted file mode 100644 (file)
index af72d99..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-# local env changes will be added here