blob: 1db04eaff6111b8ae985336bda0e646608ea749c [file] [log] [blame]
Krzysztof Opasiakfe651c12021-06-23 10:59:03 +02001#!/bin/bash
Mike Elliottf137b2c2019-04-30 16:28:07 -04002
3apt-get update
4
Krzysztof Opasiakfe651c12021-06-23 10:59:03 +02005IP_ADDR=`ip address |grep ens|grep inet|awk '{print $2}'| awk -F / '{print $1}'`
6HOSTNAME=`hostname`
Mike Elliottf137b2c2019-04-30 16:28:07 -04007
Krzysztof Opasiakfe651c12021-06-23 10:59:03 +02008echo "$IP_ADDR $HOSTNAME" >> /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