Skip to content

Commit

Permalink
Add ppc64le (ppc64 Little-Endian) as supported architecture
Browse files Browse the repository at this point in the history
Devstack fails for ppc64le cirros image:
euca-bundle-image: error: argument -r/--arch: invalid choice:
'ppc64le' (choose from 'i386', 'x86_64', 'armhf', 'ppc', 'ppc64')

Closes-bug: #1527341
  • Loading branch information
Rafael Folco committed Dec 17, 2015
1 parent f04e631 commit 1b6ce73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion euca2ools/commands/bundle/bundlevolume.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class BundleVolume(BaseCommand, FileTransferProgressBarMixin):
# -r/--arch is required, but to keep the UID check we do at the
# beginning of configure() first we enforce that there instead.
Arg('-r', '--arch', help="the image's architecture (required)",
choices=('i386', 'x86_64', 'armhf', 'ppc', 'ppc64')),
choices=('i386', 'x86_64', 'armhf', 'ppc', 'ppc64', 'ppc64le')),
Arg('-e', '--exclude', metavar='PATH,...',
type=delimited_list(','),
help='comma-separated list of paths to exclude'),
Expand Down
2 changes: 1 addition & 1 deletion euca2ools/commands/bundle/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class BundleCreatingMixin(object):
the bundle's files (default: dir named by TMPDIR, TEMP, or TMP
environment variables, or otherwise /var/tmp)'''),
Arg('-r', '--arch', required=True,
choices=('i386', 'x86_64', 'armhf', 'ppc', 'ppc64'),
choices=('i386', 'x86_64', 'armhf', 'ppc', 'ppc64', 'ppc64le'),
help="the image's architecture (required)"),

# User- and cloud-specific stuff
Expand Down

0 comments on commit 1b6ce73

Please sign in to comment.