blob: 1db04eaff6111b8ae985336bda0e646608ea749c [file] [log] [blame]
Mike Elliottf137b2c2019-04-30 16:28:07 -04001#!/bin/bash
2
3apt-get update
4
5IP_ADDR=`ip address |grep ens|grep inet|awk '{print $2}'| awk -F / '{print $1}'`
6HOSTNAME=`hostname`
7
8echo "$IP_ADDR $HOSTNAME" >> /etc/hosts
9
10sudo apt-get install make -y
11
12# nfs server
13sudo apt-get install nfs-kernel-server -y
14
15sudo mkdir -p /nfs_share
16sudo chown nobody:nogroup /nfs_share/
17
18exit 0