diff options
author | Julien Moutinho <julm+kvm-wrapper@autogeree.net> | 2014-01-23 12:11:36 +0100 |
---|---|---|
committer | Benjamin Cohen <bencoh@notk.org> | 2014-01-23 13:30:11 +0100 |
commit | 3646d6863db7a551da98f4a23430148a43a372cc (patch) | |
tree | 4728189464e154f711caa0a42806aa2a4a548670 | |
parent | d3b75b19a9408524de030b537052bb77cb730a92 (diff) |
bootstrap/debian: add arch configuration
Add KVM_ARCH_SUFFIX and KVM_DPKG_ARCH
-rwxr-xr-x | bootstrap/debian/bootstrap.sh | 8 |
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 |