Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Add tag to show image source when installing a default image #179

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions recipes/create-first-resources.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down