example script for creating vserver-based debian VM
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 18 Sep 2012 15:39:34 +0000 (17:39 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 18 Sep 2012 15:39:34 +0000 (17:39 +0200)
scripts/debian01.sh [new file with mode: 0755]

diff --git a/scripts/debian01.sh b/scripts/debian01.sh
new file mode 100755 (executable)
index 0000000..216a147
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/bash
+### requirement : yum install debootstrap
+vserver debian01 build -m debootstrap \
+ --interface eth0:138.96.116.61/21 --hostname debian01.pl.sophia.inria.fr -- \
+ -d squeeze \
+ -m http://ftp2.fr.debian.org/debian/ -- \
+ --verbose --arch=i386 >& debian01.log