diff options
author | Reto Buerki <reet@codelabs.ch> | 2012-12-14 10:16:37 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2013-01-17 16:54:57 +0100 |
commit | 23382d2e000ac71390e4cf4b1674dc118812f776 (patch) | |
tree | 8bb2bc9c6a446346e254312101961b672a7bb5d9 | |
parent | 12f1ff3a0ea0765f51d2890b3fc1097d48f71986 (diff) | |
download | strongswan-23382d2e000ac71390e4cf4b1674dc118812f776.tar.bz2 strongswan-23382d2e000ac71390e4cf4b1674dc118812f776.tar.xz |
Directly use STRONGSWANHOSTS in build-guestimages
Drop support for building guests specified on the command line; creating
all images unconditionally is very fast now thanks to qcow2.
-rwxr-xr-x | testing/scripts/build-guestimages | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/testing/scripts/build-guestimages b/testing/scripts/build-guestimages index bf6d21d08..cf64bd86d 100755 --- a/testing/scripts/build-guestimages +++ b/testing/scripts/build-guestimages @@ -32,17 +32,11 @@ mkdir -p $BUILDDIR mkdir -p $LOOPDIR mkdir -p $GUESTIMGDIR -if [ "$#" -eq 0 ]; then - HOSTS=$STRONGSWANHOSTS -else - HOSTS=$* -fi - # just to be sure do_on_exit qemu-nbd -d $NBDEV do_on_exit umount $LOOPDIR -for host in $HOSTS +for host in $STRONGSWANHOSTS do log_action "Creating guest image for $host" execute "qemu-img create -b $ROOTIMG -f $IMGEXT $GUESTIMGDIR/$host.$IMGEXT" 0 |