From 53a788ecd077836bb95c6059cafa4bedf542dc97 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 4 Apr 2015 10:34:09 +0200 Subject: more Centos gold example fixes and some TODOs --- examples/build_gold_image/README | 17 ++++++++++++++++- examples/build_gold_image/biruda.conf | 3 ++- 2 files changed, 18 insertions(+), 2 deletions(-) (limited to 'examples') 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 -- cgit v1.2.3-54-g00ecf