summaryrefslogtreecommitdiffstats
path: root/src/seastar/kvm/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/seastar/kvm/build.sh')
-rwxr-xr-xsrc/seastar/kvm/build.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/seastar/kvm/build.sh b/src/seastar/kvm/build.sh
new file mode 100755
index 000000000..f5b98ae37
--- /dev/null
+++ b/src/seastar/kvm/build.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+rm -rf /tmp/seastar
+cp -a ../ /tmp/seastar
+virt-builder fedora-21 -o seastar-dev.qcow2 --format qcow2 --size 20G --hostname seastar-dev --install "@core" --update --selinux-relabel --copy-in /tmp/seastar:/root/ --firstboot scripts/bootstrap.sh
+rm -rf /tmp/seastar