89
if run_once_ever ssh_authorized_keys
91
log_daemon_msg "Fetching EC2 SSH keys"
92
if ec2-fetch-credentials 2> /dev/null
100
log_daemon_msg "Setting hostname to EC2 localhostname"
101
if ec2-set-hostname 2> /dev/null
89
if run_once_ever ssh_authorized_keys
91
log_daemon_msg "Fetching EC2 SSH keys"
92
if ec2-fetch-credentials 2> /dev/null
100
log_daemon_msg "Setting hostname to EC2 localhostname"
101
if ec2-set-hostname 2> /dev/null
108
if run_once_ever apt_source_list
110
log_daemon_msg "Creating /etc/apt/sources.list"
111
if ec2-set-apt-sources 2> /dev/null
119
if run_once_per_instance user-data
121
log_daemon_msg "Running EC2 user data"
122
if ec2-run-user-data 2>&1 | logger -t "user-data"
108
if run_once_ever apt_source_list
110
log_daemon_msg "Creating /etc/apt/sources.list"
111
if ec2-set-apt-sources 2> /dev/null
119
if run_once_per_instance user-data
121
log_daemon_msg "Running EC2 user data"
122
if ec2-run-user-data 2>&1 | logger -t "user-data"