File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,14 @@ test -f /etc/aliases && rm /etc/aliases
144144test -d /var/spool/exim4 && rm -rf /var/spool/exim4
145145# Texinfo config
146146test -d /etc/texmf && rm -r /etc/texmf
147+ # Cloud-init files
148+ # UpCloud data source: http://169.254.169.254/metadata/v1.json
149+ test -f /etc/ssh/sshd_config.d/50-cloud-init.conf && rm /etc/ssh/sshd_config.d/50-cloud-init.conf
150+ test -f /etc/sudoers.d/90-cloud-init-users && rm /etc/sudoers.d/90-cloud-init-users
151+ # /etc/network/interfaces is empty
152+ # /etc/network/interfaces.d/50-cloud-init
153+ test -f /var/log/cloud-init.log && rm /var/log/cloud-init.log
154+ test -d /var/tmp/cloud-init && rm -r /var/tmp/cloud-init
147155
148156Info " Do dist-upgrade finally"
149157
Original file line number Diff line number Diff line change 33# @TODO vallumd - central firewall
44
55[DEFAULT]
6- # localhost own IP
7- # proxy Googlebot PayPal IPN
8- ignoreip = 127.0.0.0/8 @@IP@@ 88.151.99.143 66.249.64.0/19 173.0.80.0/22
9- 35.158.136.0/24 52.57.254.0/24 54.240.128.0/18 64.252.86.0/23 64.252.88.0/23 205.251.192.0/19 216.137.32.0/19
6+ # localhost own IP Googlebot PayPal IPN
7+ ignoreip = 127.0.0.0/8 @@IP@@ 66.249.64.0/19 173.0.80.0/22
8+ 35.158.136.0/24 52.57.254.0/24 54.240.128.0/18 64.252.86.0/23 64.252.88.0/23 64.252.126.0/24 205.251.192.0/19 216.137.32.0/19
109# Amazon CloudFront
1110# wget -qO- "https://ip-ranges.amazonaws.com/ip-ranges.json"|jq -r '.prefixes[] | select(.service == "CLOUDFRONT").ip_prefix'|sortip
1211
You can’t perform that action at this time.
0 commit comments