summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2015-04-04 10:34:09 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2015-04-04 10:34:09 +0200
commit53a788ecd077836bb95c6059cafa4bedf542dc97 (patch)
tree4bccc670b522737d7c2696103b6d7df63a4392cd /examples
parent844deb35f5b4f837699c1a8611f4e5be848ce59f (diff)
downloadbiruda-53a788ecd077836bb95c6059cafa4bedf542dc97.tar.gz
biruda-53a788ecd077836bb95c6059cafa4bedf542dc97.tar.bz2
more Centos gold example fixes and some TODOs
Diffstat (limited to 'examples')
-rw-r--r--examples/build_gold_image/README17
-rw-r--r--examples/build_gold_image/biruda.conf3
2 files changed, 18 insertions, 2 deletions
diff --git a/examples/build_gold_image/README b/examples/build_gold_image/README
index ce781b3..a5726aa 100644
--- a/examples/build_gold_image/README
+++ b/examples/build_gold_image/README
@@ -2,7 +2,12 @@ Requirements
------------
Your distribution needs a running 'rpm', so on ArchLinux this can be
-achieved by installing '
+achieved by installing 'rpm-org'. You also need a running 'yum' which
+on ArchLinux you can build from the AUR.
+
+Running
+-------
+
This example runs a single-node biruda installing a Centos 6 image
in a chroot.
@@ -12,6 +17,8 @@ biruda -f -c biruda.conf
In another shell start the interactive cli:
+shell> biruda -i -c biruda.conf
+
biruda> status
coordinator eeepc cpe:/o:arch:arch:rolling i686 1 alive 1428133209 (0)
worker example_build_gold stopped direct /bin/sh ./build_centos6.sh x86_64 (0)
@@ -55,3 +62,11 @@ shell> ls rhel6-x64
bin boot dev etc home lib media mnt opt proc
root sbin selinux srv sys tmp usr var
+When the installation finished we can run the other worker which just
+makes a cat of the Redhat version file '/etc/redhat-release':
+
+biruda> start
+worker> example_run
+Request queued
+biruda> messages
+CentOS release 6.6 (Final)
diff --git a/examples/build_gold_image/biruda.conf b/examples/build_gold_image/biruda.conf
index 10cdca4..fb27401 100644
--- a/examples/build_gold_image/biruda.conf
+++ b/examples/build_gold_image/biruda.conf
@@ -35,7 +35,8 @@ worker example_run
execution = direct
- command = "/bin/chroot rhel6-x64 /bin/bash -c '/bin/cat /etc/redhat-release'"
+# command = "/bin/chroot rhel6-x64 /bin/bash -c '/bin/cat /etc/redhat-release'"
+ command = "/bin/chroot rhel6-686 /bin/bash -c '/bin/cat /etc/redhat-release'"
}
webserver