Sha256: 17bbf9765d78a21ef6d8e1d634658b63ba6360f3c6a4bbbf6019d104c9e255c8

Contents?: true

Size: 387 Bytes

Versions: 3

Compression:

Stored size: 387 Bytes

Contents

#!/bin/bash -exu

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 -%>

<%%= yield %>

uptime | tee /var/log/boot-time.log

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
forger-2.0.2 lib/templates/default/app/user_data/layouts/default.sh.tt
forger-2.0.1 lib/templates/default/app/user_data/layouts/default.sh.tt
forger-2.0.0 lib/templates/default/app/user_data/layouts/default.sh.tt