summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbootstrap/debian/bootstrap.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/bootstrap/debian/bootstrap.sh b/bootstrap/debian/bootstrap.sh
index 2ca9fa6..cfda01a 100755
--- a/bootstrap/debian/bootstrap.sh
+++ b/bootstrap/debian/bootstrap.sh
@@ -6,11 +6,11 @@
# Published under the WTFPLv2 (see LICENSE)
if [[ "`uname -m`" == "x86_64" ]]; then
- ARCH_SUFFIX="amd64"
- DPKG_ARCH="amd64"
+ ARCH_SUFFIX=${KVM_ARCH_SUFFIX:-amd64}
+ DPKG_ARCH=${KVM_DPKG_ARCH:-amd64}
else
- ARCH_SUFFIX="686"
- DPKG_ARCH="i386"
+ ARCH_SUFFIX=${KVM_ARCH_SUFFIX:-686}
+ DPKG_ARCH=${KVM_DPKG_ARCH:-i386}
fi
### Configuration