lib/templates/default/app/user_data/layouts/default.sh.tt in forger-2.0.5 vs lib/templates/default/app/user_data/layouts/default.sh.tt in forger-3.0.0
- old
+ new
@@ -3,15 +3,11 @@
export HOME=/root # In user-data env USER=root but HOME is not set
cd ~ # user-data starts off in / so go to $HOME
<%%= add_ssh_key %>
-<% if options[:s3_folder] -%>
-<%%= extract_scripts(to: "/opt") %>
-<% else -%>
# Uncomment to use extract_scripts and use app/scripts
-<%%# extract_scripts(to: "/opt") %>
-<% end -%>
+<%%=# extract_scripts(to: "/opt") %>
<%%= yield %>
uptime | tee /var/log/boot-time.log