From f66bbf743ad6ae8e24bee45ad5c49cb390f27181 Mon Sep 17 00:00:00 2001
From: Jeffrey Phillips Freeman <jeffrey.freeman@syncleus.com>
Date: Sun, 11 Feb 2018 01:15:15 -0500
Subject: [PATCH] Bumped up to ubuntu 17.10.

---
 Vagrantfile  | 7 ++-----
 bootstrap.sh | 7 +++++--
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/Vagrantfile b/Vagrantfile
index 18863fc..8a69932 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -1,11 +1,8 @@
 VAGRANTFILE_API_VERSION = "2"
 
-VM_IP = "10.10.10.10"
-
 Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
-  config.vm.box = "ubuntu/zesty64"
-  config.vm.provision :shell, path: "bootstrap.sh", args: [VM_IP]
-  config.vm.network "private_network", ip: VM_IP
+  config.vm.box = "ubuntu/artful64"
+  config.vm.provision :shell, path: "bootstrap.sh"
   config.vm.synced_folder "./shared", "/mnt/shared"
 
   config.vm.provider "virtualbox" do |vb|
diff --git a/bootstrap.sh b/bootstrap.sh
index 433fff3..c8a81c5 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -1,6 +1,9 @@
 #!/usr/bin/env bash
 
-export HOST_IP=$1
+#-----------------------------------------
+# Resize partition if needed to full size
+#-----------------------------------------
+sudo resize2fs /dev/sda1
 
 #--------------------
 # install packages 
@@ -80,4 +83,4 @@ git clone https://github.com/Syncleus/aparapi.git
 git clone https://github.com/Syncleus/aparapi-examples.git
 git clone https://github.com/Syncleus/aparapi-jni.git
 git clone --recursive https://github.com/Syncleus/aparapi-native.git
-sudo chown -R ubuntu:ubuntu aparapi*
+sudo chown -R vagrant:vagrant /home/vagrant/
-- 
GitLab