Add x86_64 check to urlfetcher to cater for Ubuntu 16.04

This commit is contained in:
Rowan Potgieter 2017-04-04 12:45:30 +02:00 committed by Cole Robinson
parent 6d1a3db421
commit a98b456975
1 changed files with 3 additions and 1 deletions

View File

@ -1102,9 +1102,11 @@ class DebianDistro(Distro):
# Check for standard 'i386' and 'amd64' which will be
# in the URI name for --location $ISO mounts
for arch in ["i386", "amd64"]:
for arch in ["i386", "amd64", "x86_64"]:
if arch in self.uri:
logging.debug("Found treearch=%s in uri", arch)
if arch is "x86_64":
arch = "amd64"
return arch
# Otherwise default to i386