Sha256: c5b22e02bd834fb874d5a094b82c46709df0d0b5e0eb1651aceba0bf7abecf23

Contents?: true

Size: 294 Bytes

Versions: 2

Compression:

Stored size: 294 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 %>

# Uncomment to use extract_scripts and use app/scripts
<%%=# extract_scripts(to: "/opt") %>

<%%= yield %>

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
forger-3.0.1 lib/templates/default/app/user_data/layouts/default.sh.tt
forger-3.0.0 lib/templates/default/app/user_data/layouts/default.sh.tt