summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydractl/provision8
1 files changed, 8 insertions, 0 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index fe4d0d8..f214e0f 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -433,6 +433,14 @@ hydra_sudo_run chroot $WORK update-initramfs -v -u
echo "Installing basic utilities..."
hydra_sudo_run chroot $WORK apt-get install screen cron lsb-release openssl -y
+# Networking.
+echo "Doing a basic network config..."
+cat <<-EOF | $SUDO tee $WORK/etc/network/interfaces > /dev/null
+auto eth0
+allow-hotplug eth0
+iface eth0 inet dhcp
+EOF
+
# Ssh.
echo "Installing OpenSSH daemon..."
hydra_sudo_run chroot $WORK apt-get install openssh-server -y