Style
This commit is contained in:
@@ -41,7 +41,7 @@ to make this process fast on subsequent runs.
|
|||||||
sudo server/build_image.py --image-dir=/output/path --release=trusty --source-iso=path/to/ubuntu-14.04.4-desktop-amd64.iso
|
sudo server/build_image.py --image-dir=/output/path --release=trusty --source-iso=path/to/ubuntu-14.04.4-desktop-amd64.iso
|
||||||
```
|
```
|
||||||
|
|
||||||
### Modules
|
## Modules
|
||||||
|
|
||||||
Modules are scripts that run after the chroot has been created. They can install
|
Modules are scripts that run after the chroot has been created. They can install
|
||||||
packages, do configuration, etc. Icon has several stock modules, but you can
|
packages, do configuration, etc. Icon has several stock modules, but you can
|
||||||
@@ -50,7 +50,7 @@ flags to build_image.py as long as the modules are compatible with each other.
|
|||||||
|
|
||||||
Stock modules:
|
Stock modules:
|
||||||
|
|
||||||
#### iconograph.py
|
### iconograph.py
|
||||||
|
|
||||||
Install icon inside the image. This allows the image to auto-update over HTTP.
|
Install icon inside the image. This allows the image to auto-update over HTTP.
|
||||||
Use the build_image.py flag:
|
Use the build_image.py flag:
|
||||||
@@ -64,7 +64,7 @@ Optional flags:
|
|||||||
`--max-images` sets the number of recent images to keep. Older images are
|
`--max-images` sets the number of recent images to keep. Older images are
|
||||||
deleted. Defaults to 5. 0 means unlimited.
|
deleted. Defaults to 5. 0 means unlimited.
|
||||||
|
|
||||||
#### persistent.py
|
### persistent.py
|
||||||
|
|
||||||
Mount a /persistent partition from a filesystem with LABEL=PERSISTENT. Allows
|
Mount a /persistent partition from a filesystem with LABEL=PERSISTENT. Allows
|
||||||
data to persist across reboots, when it would normally be wiped by tmpfs.
|
data to persist across reboots, when it would normally be wiped by tmpfs.
|
||||||
@@ -74,7 +74,7 @@ Use the build_image.py flag:
|
|||||||
--module="server/modules/persistent.py"
|
--module="server/modules/persistent.py"
|
||||||
```
|
```
|
||||||
|
|
||||||
#### autoimage.py
|
### autoimage.py
|
||||||
|
|
||||||
Build an image that will partition, mkfs, and install an image from a different
|
Build an image that will partition, mkfs, and install an image from a different
|
||||||
URL onto a target system. Used to create install USB drives, PXE boot, etc.
|
URL onto a target system. Used to create install USB drives, PXE boot, etc.
|
||||||
|
|||||||
Reference in New Issue
Block a user