Skip to content

Instantly share code, notes, and snippets.

##Dockerfile
FROM centos:7
RUN yum update -y && yum install -y wget perl openssl-devel dmidecode sed vim
RUN wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash
# Edit /etc/yum.repos.d/dell-system-update.repo to point to last supported centos 7 version
RUN sed -i '/\[dell-system-update_independent\]/a baseurl=https://linux.dell.com/repo/hardware/DSU_22.08.12/os_independent/' /etc/yum.repos.d/dell-system-update.repo
RUN sed -i 's|baseurl=https://linux.dell.com/repo/hardware/dsu/os_independent/|#&|' /etc/yum.repos.d/dell-system-update.repo
@duckworth
duckworth / export.sh
Created July 7, 2022 15:48 — forked from JCotton1123/export.sh
AWS Export IP Addresses
# Export IP addresses to support vulnerability scanning
# Public IPs
touch /tmp/public-ips.txt
aws ec2 describe-instances \
--query "Reservations[*].Instances[*].PublicIpAddress" \
--output=text \
>>/tmp/public-ips.txt
@duckworth
duckworth / install.sh
Last active December 11, 2020 14:24 — forked from mkubenka/install.sh
OpenVPN Access Server Letsencrypt
#!/bin/sh
apt-get -y install socat
curl https://get.acme.sh | sh