Updated Baseboxes (markdown)

Tom
2016-08-03 15:23:58 +01:00
parent cfce0dad2f
commit 340c0bdc86

@@ -32,8 +32,28 @@ The module structure for base modules is:
```
For in depth detail on what secgen_metadata.xml contains, visit [here](https://github.com/cliffe/SecGen/wiki/SecGen-schemas#bases).
### Why do I need to import my own basebox?
Baseboxes include all Operating system and Distro information, therefore acting as a base to the whole generated system.
### Where will we be importing the basebox from?
Baseboxes can be imported from many sites, the site used in this tutorial is [Atlas by Hashicorp](https://atlas.hashicorp.com).
### Why not create my own basebox?
Baseboxes can be simple to make, but complex to optimise, therefore it is recommended to use pre-made baseboxes for secgen. However, as some baseboxes may be hard to find or may not exist, [creating baseboxes](https://github.com/cliffe/SecGen/wiki/Baseboxes---How-to-create-custom-baseboxes-for-SecGen) for Operating Systems like windows may be neccesary.
### Steps to importing a basebox
First log onto [Atlas](https://atlas.hashicorp.com) and find a sufficient basebox, we will be using [ubuntu-16.04-32-puppet](https://atlas.hashicorp.com/puppetlabs/boxes/ubuntu-16.04-32-puppet).
First, create a new directory inside the bases directory
mkdir ~/{path_to_SecGen}/SecGen/modules/bases/ubuntu_puppet_32
Next, change to the newly created directory
cd ~/{path_to_SecGen/SecGen/modules/bases/ubuntu_puppet_32
Then, create the [secgen_metadata.xml](https://github.com/cliffe/SecGen/wiki/SecGen-schemas#bases) file for the basebox.
## Where can I get more information on creating base modules?
More detailed information about the general structure of modules can be found in: [Module development overview](https://github.com/cliffe/SecGen/wiki/Module-development-overview#so-what-structure-do-modules-take).
A detailed analysis of all the different tags and types allowed in the secgen_metadata.xml and scenario files is in: [SecGen schemas](https://github.com/cliffe/SecGen/wiki/SecGen-schemas#bases).
A guide to importing your first baseboxes can be found at: [Importing your first basebox](https://github.com/cliffe/SecGen/wiki/Baseboxes---Importing-your-first-basebox).
A guide to creating your own baseboxes can be found at: [How to create custom baseboxes for SecGen](https://github.com/cliffe/SecGen/wiki/Baseboxes---How-to-create-custom-baseboxes-for-SecGen)
A detailed analysis of all the different tags and types allowed in the secgen_metadata.xml and scenario files is in: [SecGen schemas](https://github.com/cliffe/SecGen/wiki/SecGen-schemas#bases).