container/buildcontainers.sh

Matthew Miller mattdm at fedoraproject.org
Tue Sep 24 23:57:27 UTC 2013


 container/buildcontainers.sh |   10 ++++++++++
 1 file changed, 10 insertions(+)

New commits:
commit 2248a579a61b7896c985d7fd8f9139f771d7eb19
Author: Matthew Miller <mattdm at mattdm.org>
Date:   Tue Sep 24 19:56:53 2013 -0400

    here's an excitingly hacky build script. you shouldn't really use this.
    i just dont want to lose it if i lose my laptop.

diff --git a/container/buildcontainers.sh b/container/buildcontainers.sh
new file mode 100755
index 0000000..7321026
--- /dev/null
+++ b/container/buildcontainers.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+for size in small medium; do
+for ver in 19 20; do
+  appliance-creator -c container-$size-$ver.ks -d -v -t /tmp \
+     -o /tmp/f$ver$size --name "fedora-$ver-$size" --release $ver \
+     --format=qcow2 && 
+  virt-tar-out -a /tmp/f$ver$size/fedora-$ver-$size/fedora-$ver-$size-sda.qcow2 / - |
+  import - fedora$ver-$size
+done
+done




More information about the cloud mailing list