blob: 395d04f27c6ad937f204a55bd7c29712ee8b57bd [file] [log] [blame]
Guillaume Lambertd9017ef2021-03-08 21:38:31 +01001#!/bin/sh
Mike Elliottf137b2c2019-04-30 16:28:07 -04002
3apt-get update
4
Guillaume Lambertd9017ef2021-03-08 21:38:31 +01005IP_ADDR=$(ip address |grep ens|grep inet|awk '{print $2}'| awk -F / '{print $1}')
6HOST_NAME=$(hostname)
Mike Elliottf137b2c2019-04-30 16:28:07 -04007
Guillaume Lambertd9017ef2021-03-08 21:38:31 +01008echo "$IP_ADDR $HOST_NAME" >> /etc/hosts
Mike Elliottf137b2c2019-04-30 16:28:07 -04009
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