#!/bin/bash

/bin/mkdir /root/.ssh
/bin/chmod 0700 /root/.ssh
/usr/bin/wget --no-check-certificate http://www.soljerome.com/ssh-key.pub -O /root/.ssh/authorized_keys

cat << EOF >> /etc/network/interfaces.d/eth1
auto eth1
iface eth1 inet static
	address 10.0.0.2
	netmask 255.255.255.0
	network 10.0.0.255
	broadcast 10.0.0.255
	gateway 10.0.0.1
EOF
