mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-05 00:00:45 -04:00
Passthrough mode only works as expected when running as root. On Debian/Ubuntu systems qemu runs as user 'libvirt-qemu' and group 'kvm' so all shared files must be chowned to grant access from guests. Symlinks created on the host are still problematic because the Plan 9 filesystem has no direct notion of symbolic links, see [1]. [1] - http://ericvh.github.com/9p-rfc/rfc9p2000.u.html
28 lines
467 B
Bash
Executable File
28 lines
467 B
Bash
Executable File
#!/bin/bash
|
|
|
|
DIR=$(dirname `readlink -f $0`)
|
|
. $DIR/testing.conf
|
|
|
|
rm -f $LOGFILE
|
|
mkdir -p $BUILDDIR
|
|
|
|
if [ $ENABLE_BUILD_BASEIMAGE = "yes" ]
|
|
then
|
|
$DIR/scripts/build-baseimage || exit 1
|
|
fi
|
|
|
|
if [ $ENABLE_BUILD_ROOTIMAGE = "yes" ]
|
|
then
|
|
$DIR/scripts/build-rootimage || exit 1
|
|
fi
|
|
|
|
if [ $ENABLE_BUILD_GUESTKERNEL = "yes" ]
|
|
then
|
|
$DIR/scripts/build-guestkernel || exit 1
|
|
fi
|
|
|
|
if [ $ENABLE_BUILD_GUESTIMAGES = "yes" ]
|
|
then
|
|
$DIR/scripts/build-guestimages $HOSTS || exit 1
|
|
fi
|