Step 1 (Optional): Securely wipe your disk
dd if=/dev/zero of=/dev/sda iflag=nocache oflag=direct bs=4096
Note: More research desired for proper way to wipe disk.
Step 2: Setup SSH
#!/bin/sh | |
prog_name=${0##*/} | |
version=1.0 | |
version_text="Boilerplate for new scripts v$version" | |
options="h o: q v V" | |
help_text="Usage: $prog_name [-o <text>] [-hqvV] [<file>]... | |
Boilerplate for new scripts |
interfaces { | |
vti vti0 { | |
address <CGW_INTERNAL_IP_A>/30 | |
description "VPC Tunnel A" | |
mtu 1436 | |
} | |
vti vti1 { | |
address <CGW_INTERNAL_IP_B>/30 | |
description "VPC Tunnel B" | |
mtu 1436 |
interfaces { | |
ethernet eth0 { | |
address x.x.x.50/30 | |
duplex auto | |
hw-id 00:0c:29:8e:f1:58 | |
smp_affinity auto | |
speed auto | |
} | |
ethernet eth2 { | |
address 172.31.1.50/16 |