forked from JBKahn/provisioning-local
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run.sh
executable file
·35 lines (24 loc) · 1.06 KB
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
sudo apt-get install python-setuptools
sudo easy_install pip
sudo apt-get install aptitude
sudo apt-get install git
sudo apt-get install python-dev libxml2-dev libxslt-dev
cd ~
mkdir -p setup
cd setup
git clone https://github.com/JBKahn/provisioning-local.git
cd provisioning-local
sudo pip install -r requirements.txt
echo -e "please enter your username, followed by [ENTER]" && read PROVISIONING_USER
sudo sed -i "s/^username: .*/username: $PROVISIONING_USER/" roles/common/vars/main.yml
echo -e "please enter your github username, followed by [ENTER]" && read PROVISIONING_GITHUB_USERNAME
sudo sed -i "s/^github_username: .*/github_username: $PROVISIONING_GITHUB_USERNAME/" roles/common/vars/main.yml
sudo sed -i "s/^uname_r: .*/uname_r: `uname -r`/" roles/common/vars/main.yml
ansible-playbook setup.yml -i HOSTS --ask-sudo-pass --module-path ./ansible_modules
# currently unable to use ansible due to EULA that I can't seem to stub using debconf
sudo apt-get install steam
dropbox start -i &
/opt/extras.ubuntu.com/variety/bin/variety $
plank &
source ~/.bashrc
exit 0