Example directory skeleton to be injected into the OS install by stackjump
The files that exist in this are the basic essential files needed by stackjump.
You can modify any of these files to customize your installation.
Also note, this is just an example of a directory skeleton to use with stackjump, not a requirement.
Feel free to create your own skeleton!
NOTE the only following file absolutely required to exist in your directory skeleton is 'preseed.cfg' (in the dir root and spelled exactly as such). If your skeleton doesn't have the other files, they will automatically be created and injected by stackjump using default values.
# if u don't pass a preseed on the cmd line it needs to be here named as such
stackjump_skeleton/preseed.cfg
# This will run the first time the OS boots and not anytime after
stackjump_skeleton/root/first_run.sh
# This will run when the OS finish install prior to rebooting first time
stackjump_skeleton/root/late_command.sh
# chef-solo files to bootstrap chef-server
stackjump_skeleton/root/chef-solo/solo.json
stackjump_skeleton/root/chef-solo/solo.rb
stackjump_skeleton/root/chef-solo/cookbooks/chef-server/files/default/chef-server.seed
stackjump_skeleton/root/chef-solo/cookbooks/chef-server/recipes/default.rb
NOTE: if you use the default preseed in this skeleton the default root password is 'none' spelled exactly as such, but it is recommended that you should change it to something more secure.
See stackjump
$ stackjump -g [email protected]:jhtran/stackjump_skeleton.git
OR
$ git clone [email protected]:jhtran/stackjump_skeleton.git
$ stackjump -d ./stackjump_skeleton
These exist only to get you started. They are empty but hopefully you get the idea.
stackjump_skeleton/root/.ssh/authorized_keys
stackjump_skeleton/home/ubuntu/.ssh/authorized_keys
stackjump_skeleton/etc
stackjump_skeleton/usr