Skip to content

kaizengarden/sdc-scripts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sdc-scripts

This repository is part of the Joyent Triton project. See the contribution guidelines and general documentation at the main Triton project page.

The files/scripts here are used for configuring sdc zones. Currently used are:

  • setup.sh: called once when first setting up the zone.
  • configure.sh: called on every zone boot.
  • lib/util.sh: contains common functions for setting up SDC zones.
  • etc/root.bashrc: will be loaded as /root/.bashrc in SDC zones.

The files in the sdc-scripts.git repo are copied in first and then the files in the zone's <repo>.git/boot directory are copied over. This way the sdc-scripts.git files act as defaults but the zone can (and must in the case of setup.sh and configure.sh) use its own files.

package.json

This repo includes a package.json even though it isn't a Node.js package. It is used to hold a version. At the time of writing that version isn't used for anything but manually reading.

About

Common scripts for configuring and setting up SDC zones.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 90.6%
  • JavaScript 9.4%