GithubHelp home page GithubHelp logo

isabella232 / sdc-vmtools-lx-brand Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tritondatacenter/sdc-vmtools-lx-brand

0.0 0.0 0.0 393 KB

The guest tools for lx-brand images

Home Page: https://docs.joyent.com/images/container-native-linux

License: Mozilla Public License 2.0

Shell 87.18% JavaScript 12.82%

sdc-vmtools-lx-brand's Introduction

SmartOS lx-brand Guest Tools

Build Status

This repo is used to install the guest tools for lx-brand images. The guest tools are required for enabling ssh key creation and meta data (user-sript, operator-script etc.) functionality. This repo, via the install.sh script, also creates symlinks and wrapper scripts for binaries found in /native in an lx-brand zone. See below for details.

Status

This software is still under active development and should be used with care.

Installing

To install the guest tools, run the ./install.sh script with the -i flag specifying the install path:

./install.sh -i /data/chroot

What Gets Installed

The install.sh script installs the following:

  • rc.local boot scripts from src/lib/smartdc
  • Symlinks to binaries found in /native. See symlinks.txt for the list of relevant binaries
  • Wrapper scripts for binaries in /native. See wrappers.txt for the list of relevant binaries
  • A custom rc.local file (/etc/rc.d/rc.local or /etc/rc.local depending on the distrubution)

Development

Bash Style

To enusre the scripts are consistent with the Joyent style guidelines, use ./tools/bashstyle:

./tools/bashstyle install.sh

Testing

Tests are executed using Bats and can found in test.

To install Bats:

$ git clone https://github.com/sstephenson/bats.git
$ cd bats
$ [sudo] ./install.sh /usr/local

Run the tests with:

bats test

sdc-vmtools-lx-brand's People

Contributors

bahamas10 avatar chorrell avatar dcrudgington avatar joshwilsdon avatar merlindmc avatar papertigers avatar ryancnelson avatar sjorge avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.