Skip to content
This repository was archived by the owner on Jun 10, 2019. It is now read-only.
This repository was archived by the owner on Jun 10, 2019. It is now read-only.

EC2 network scripts are broken #324

@chipzz

Description

@chipzz

The scripts in https://github.com/andsens/bootstrap-vz/tree/master/bootstrapvz/providers/ec2/assets/ec2 are incredibly broken; they're meant for a RedHat system and do not work and are downright harmful in a Debian environment; they will also run on random interfaces (like tunnel interfaces) and wreak havoc to the point were it will tear down the interface again and you have to reboot to fix it (due to a missing dependency on curl). Also they're not properly installed, /etc/sysconfig is a RedHat-ism that does not work on Debian, at all.

I've done some heavy work on packaging these scripts, fixing a whole slew of issues, like packaging them in a Debian package, adding a wget dependency, putting the scripts in the correct place outside of /etc, removing all bashisms so the DHCP script which is sourced can actually run without blowing up if /bin/sh -/-> /bin/bash, and fixing the udev rules so they only run on eth* interfaces.
The end result of this being that now the scripts actually work as intended (or at least, part of them; another part of them appears to be buggy the way Amazon shipped them for RedHat in the first place).

Please replace the files in your repo with copies of the files in my repo (and adjust paths accordingly).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions