Sha256: e09f2e3142cf5a4f84c0f4eb64600c76fad679845bd449521e217082aa5dc893

Contents?: true

Size: 382 Bytes

Versions: 3

Compression:

Stored size: 382 Bytes

Contents

#!/bin/bash

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.5 lib/templates/default/app/user_data/layouts/default.sh.tt
forger-2.0.4 lib/templates/default/app/user_data/layouts/default.sh.tt
forger-2.0.3 lib/templates/default/app/user_data/layouts/default.sh.tt