Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ In order to use these scripts you'll need:

## Usage

1. Run `./install -d <chroot> -m <mirror> -i <image name> -p <proper name> -u <image docs` uunder Debian to install Debian 7 in a given directory. This will create a tarball of the installation in your working directory (named `<image name>-<YYMMDD>.tar.gz`). See `./install -h` for detailed usage.
1. Run `./install -d <chroot> -m <mirror> -i <image name> -p <proper name> -u <image docs` under Debian to install Debian 7 in a given directory. This will create a tarball of the installation in your working directory (named `<image name>-<YYMMDD>.tar.gz`). See `./install -h` for detailed usage.
2. Copy the tarball to a SmartOS machine or SDC headnode and run `./create-lx-image -t /full/path/to/<image name>-<YYMMDD>.tar.gz` (substituting the name of your tar file). This will create the image file and manifest.
3 changes: 3 additions & 0 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -292,4 +292,7 @@ tar czf $TARGET --exclude-from=exclude.txt $INSTALL_DIR/
echo "==> Installation complete!"
echo "==> $TARGET"

# umount previous /proc and /dev/pts if they exist
umount_chroot

exit 0