Skip to content

Commit

Permalink
setup.py: use standard EC2 packages on Ubuntu
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Grabiec <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
  • Loading branch information
tgrabiec authored and Pekka Enberg committed Jul 23, 2014
1 parent 57e723d commit d72ab0d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ class Ubuntu(object):
'libmaven-shade-plugin-java', 'python-dpkt', 'tcpdump gdb', 'qemu-system-x86',
'gawk'
]
ec2_packages = standard_ec2_packages
ec2_packages = standard_ec2_packages + ['ec2-api-tools', 'awscli']
test_packages = ['libssl-dev']
ec2_post_install = standard_ec2_post_install
ec2_post_install = None

class Ubuntu_14_04(object):
packages = []
Expand Down Expand Up @@ -83,7 +83,7 @@ class Ubuntu_14_04(object):
if cmdargs.test:
pkg += distro.test_packages + dver.test_packages
subprocess.check_call(distro.install + ' ' + str.join(' ', pkg), shell = True)
if cmdargs.ec2:
if cmdargs.ec2 and distro.ec2_post_install:
subprocess.check_call(distro.ec2_post_install, shell = True)
sys.exit(0)
print 'Your distribution version is not supported by this script'
Expand Down

0 comments on commit d72ab0d

Please sign in to comment.