-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modify markdown formatting and file name #425
Open
F1uxCapacitor
wants to merge
1
commit into
redhat-imaging:master
Choose a base branch
from
F1uxCapacitor:patch-1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -1,22 +1,23 @@ | ||
#Image Factory# | ||
# Image Factory | ||
|
||
Image Factory enables appliance creation and deployment to multiple virtualization | ||
and Cloud providers. | ||
|
||
##Features## | ||
## Features | ||
* Build guest images for a growing list of operating system and cloud combinations. | ||
* Current guest OS support: Fedora 7-19, RHEL 5.x and 6.x | ||
* Current cloud support: Red Hat Enterprise Virtualization, VMware vSphere, Amazon EC2, Rackspace, OpenStack, and more... | ||
* Image Factory supports "build and upload" or snapshotting of existing images. | ||
* RESTful API makes integrating Image Factory into existing workflows simple. | ||
|
||
|
||
##Using Image Factory## | ||
## Using Image Factory | ||
Building an image begins with a template describing what to build. See an example | ||
of such a template below. See the [schema documentation for TDL](http://imgfac.org/documentation/tdl/TDL.html) | ||
for more detail on creating a template. Note that a template is **not** tied to | ||
a specific cloud. | ||
|
||
```xml | ||
<template> | ||
<name>f21</name> | ||
<os> | ||
|
@@ -29,29 +30,34 @@ a specific cloud. | |
<rootpw>p@55word!</rootpw> | ||
</os> | ||
</template> | ||
``` | ||
|
||
Ensure to change the element to your desired root password. | ||
|
||
Next, use the imagefactory command and specify the template to use and for which | ||
clouds to build an image. The above template example was saved to a file name f12_64.tdl. | ||
|
||
```bash | ||
$ sudo imagefactory --template f12_64.tdl --target ec2 | ||
``` | ||
|
||
Once the image has been built, use the imagefactory command again, this time to | ||
push the image into the cloud. | ||
|
||
```bash | ||
$ sudo imagefactory --provider ec2-us-west-1 --credentials ec2_credentials.xml | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same issue with the prompt as above. |
||
``` | ||
|
||
That's it! You can now launch an instance of this image using the cloud | ||
provider's management console. | ||
|
||
##Installing Image Factory## | ||
## Installing Image Factory## | ||
Installing Image Factory is quick and easy. See the | ||
[imagefactory rpm installation](http://imgfac.org/documentation/install.html#rpm) | ||
instructions for more detail. | ||
|
||
## Dev Setup ## | ||
## Dev Setup | ||
If you are wanting to use Imagefactory in a dev environment, then you can run from source. Run the 'imagefactory_dev_setup.sh' script found in the scripts directory. This will setup a dev environment which allows you to run from source. Once this is complete run ./imagefactoryd --foreground to start the server. | ||
|
||
## Documentation ## | ||
## Documentation | ||
More documentation on how to configure, use, and develop for imagefactory can be found on the [Image Factory website](http://imgfac.org). |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not valid bash code with the prompt
$
included, IMHO it would be nicer to remove the prompt. Everyone who understands what it should mean can probably also deduct this fromsudo
being used.