~ubuntu-branches/ubuntu/saucy/ec2-api-tools/saucy

« back to all changes in this revision

Viewing changes to bin/ec2-reset-network-interface-attribute

  • Committer: Package Import Robot
  • Author(s): Scott Moser
  • Date: 2012-08-01 09:56:45 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20120801095645-3mdxanh3mo8jnprb
Tags: 1.6.1.1-0ubuntu1
* New upstream release (1.6.1.1). API version 2012-07-20.
  * New commands (added in 1.6.0.0): assign-private-ip-addresses
    attach-network-interface cancel-export-task create-instance-export-task
    create-network-interface delete-network-interface describe-export-tasks
    describe-network-interface-attribute describe-network-interfaces
    describe-volume-attribute describe-volume-status detach-network-interface
    enable-volume-io modify-network-interface-attribute
    modify-volume-attribute report-instance-status
    reset-network-interface-attribute unassign-private-ip-addresses 
* add watchfile

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env bash
 
2
 
 
3
# Copyright 2006-2010 Amazon.com, Inc. or its affiliates.  All Rights Reserved.  Licensed under the
 
4
# Amazon Software License (the "License").  You may not use this file except in compliance with the License. A copy of the
 
5
# License is located at http://aws.amazon.com/asl or in the "license" file accompanying this file.  This file is distributed on an "AS
 
6
# IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
 
7
# language governing permissions and limitations under the License.
 
8
 
 
9
__ZIP_PREFIX__EC2_HOME="${EC2_HOME:?EC2_HOME is not set}"
 
10
__RPM_PREFIX__EC2_HOME=/usr/local/aes/cmdline
 
11
"${EC2_HOME}"/bin/ec2-cmd ResetNetworkInterfaceAttribute "$@"