Add x86_64 check to urlfetcher to cater for Ubuntu 16.04
This commit is contained in:
parent
6d1a3db421
commit
a98b456975
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue