From 38039ce7b5ad8b106e0ff745d6d47ca0690543d3 Mon Sep 17 00:00:00 2001 From: newbyca Date: Fri, 6 Mar 2015 22:29:48 -0500 Subject: [PATCH] #3 Update package list before imagemagick install --- startup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/startup.sh b/startup.sh index cae84c8..5d4eda1 100644 --- a/startup.sh +++ b/startup.sh @@ -12,7 +12,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -apt-get -y install imagemagick +apt-get update && apt-get -y install imagemagick IMAGE_URL=$(curl http://metadata/computeMetadata/v1/instance/attributes/url -H "X-Google-Metadata-Request: True") TEXT=$(curl http://metadata/computeMetadata/v1/instance/attributes/text -H "X-Google-Metadata-Request: True") CS_BUCKET=$(curl http://metadata/computeMetadata/v1/instance/attributes/cs-bucket -H "X-Google-Metadata-Request: True")