summaryrefslogtreecommitdiff
path: root/strata/installer-utils.morph
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-12-04 15:55:56 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-12-04 17:53:17 +0000
commitf84cc5c7cd78018b501afb0e07cb695a79f51b67 (patch)
tree44cc5e76c5ce58cde3684c89bcc26a9cb8d06853 /strata/installer-utils.morph
parent08a05c726dfc08af153a9a64804c74e71e6d2b8c (diff)
downloaddefinitions-baserock/pedroalvarez/installer6.tar.gz
Add the ability to deploy installer systems and add examples.baserock/pedroalvarez/installer6
The installer-x86_64 system is a system that can be used to install other systems in an storage device. This system is intended to be booted by usb, pxeboot... to install a Baserock system in your local disk. The installer system requires the installer.configure extension to generate a configuration file located in /etc/install.conf. With this extension you can specify the following variables in a cluster morphology: - INSTALLER_TARGET_STORAGE_DEVICE: Target storage device to install the Baserock system. - INSTALLER_ROOTFS_TO_INSTALL: The location of the root filesystem that is going to be installed. - INSTALLER_POST_INSTALL_COMMAND: Commands that will be run after the installation finishes. It defaults to `reboot -f`. The installer-utils stratum is required to contain the installer-scripts chunk. This chunk contains the installer script that is going to be installed in /usr/lib/installer/installer.py The clusters/installer-build-system-x86_64.morph file defines the deployment of a installer system as a rawdisk image. This installer system will install a build-system-x86_64 located in /rootfs into the /dev/sda device. Also this cluster defines a subsystem which is the build-system that is going to end up in /rootfs on the installer system.
Diffstat (limited to 'strata/installer-utils.morph')
-rw-r--r--strata/installer-utils.morph12
1 files changed, 12 insertions, 0 deletions
diff --git a/strata/installer-utils.morph b/strata/installer-utils.morph
new file mode 100644
index 00000000..2941a5aa
--- /dev/null
+++ b/strata/installer-utils.morph
@@ -0,0 +1,12 @@
+name: installer-utils
+kind: stratum
+description: stratum for Baserock installer script.
+build-depends:
+- morph: strata/build-essential.morph
+chunks:
+- name: installer-scripts
+ morph: strata/installer-utils/installer-scripts.morph
+ repo: https://github.com/palvarez89/baserock-installer-script.git
+ ref: initial-version
+ unpetrify-ref: master
+ build-depends: []