From 1ff031c0e6238d32c4db241c02156b7749921aae Mon Sep 17 00:00:00 2001 From: Matt Clark Date: Mon, 18 May 2015 22:06:38 -0700 Subject: [PATCH] Add tag to show image source when installing a default image --- recipes/create-first-resources.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/create-first-resources.rb b/recipes/create-first-resources.rb index 619a70d..a5e3fa1 100644 --- a/recipes/create-first-resources.rb +++ b/recipes/create-first-resources.rb @@ -37,6 +37,7 @@ curl #{node['eucalyptus']['default-img-url']} > default.img source #{node['eucalyptus']['admin-cred-dir']}/eucarc euca-install-image -i default.img -b default -n default -r x86_64 --virtualization-type hvm + euca-describe-images --filter name=default | sed 's/.*\(emi-.\{8\}\).*/\1/' | xargs euca-create-tags --tag source=#{node['eucalyptus']['default-img-url']} EOH end