This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
forked from purpleidea/puppet-gluster
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store different os versions in different output directories.
(I guess this means I'm now a vagrant os image maintainer.) NOTE: you can create your own personal scripts in builder/versions/ ! (See the template.sh file there for more information.)
- Loading branch information
1 parent
2419569
commit e6f0bc5
Showing
4 changed files
with
20 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ docs/ | |
hacking/ | ||
rpmbuild/ | ||
screencasts/ | ||
builder/versions/*.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
# to use this script, from its parent dir, run: ./versions/<script>.sh <target> | ||
# you'll want to edit the below bash variables to match your use cases :) | ||
# eg: ./versions/centos-6.sh upload | ||
# to make your own base image and upload it to your own server somewhere. | ||
|
||
VERSION='centos-6' # pick from the output of virt-builder -l | ||
SERVER='user@host.example.org' # connect over ssh (add your public key first) | ||
REMOTE_PATH='public_html/vagrant' # make a $VERSION directory in this dir | ||
|
||
make VERSION=$VERSION SERVER=$SERVER REMOTE_PATH=$REMOTE_PATH $@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters