Last active
May 18, 2017 11:57
-
-
Save FlorianHeigl/e9d7c5ef3561494a85204b01d67bd3ce to your computer and use it in GitHub Desktop.
post-fix-cludge things for packet.net
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
# I'm very unhappy to end up with this scriptlike solution but there was some bugs (i.e. things not being run) | |
# that seem to be in their cloud-config version | |
runcmd: | |
- apt-get -y install wget --force-yes | |
- wget --quiet -O- "https://www.rudder-project.org/apt-repos/rudder_apt_key.pub" | apt-key add - | |
- echo "deb http://www.rudder-project.org/apt-4.1/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/rudder.list | |
- apt-get update | |
- DEBIAN_FRONTEND=noninteractive apt-get -y install rudder-agent --force-yes | |
- echo "10.80.60.133" > /var/rudder/cfengine-community/policy_server.dat | |
- unlink /etc/motd | |
- DEBIAN_FRONTEND=noninteractive apt-get install -y debian-keyring debian-archive-keyring --force-yes | |
- DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade --force-yes | |
- systemctl restart rsyslog |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment