Skip to content

tystr/aws-boot-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AWS Boot Scripts

These are a couple of helper scripts to facilitate the automatic creation and deletion of machine hostnames and CNAME records at boot and shutdown/reboot as well as handling removing a node from puppet on shutdown/reboot.

Installation

Simply put startup.sh and shutdown.sh into /usr/sbin and edit them to set the necessary variables.

Add something like this to your rc.local to run the startup script: /bin/bash /usr/sbin/startup.sh 1> /tmp/startup.out 2>&1

And you can use provided shutdown-init init script to run the shutdown/reboot script.

That's it!

About

Simple bash scripts to dynamically set/unset hostnames and CNAME records on startup/shutdown

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages