Skip to content

Commit ebcbda6

Browse files
committed
Merge pull request udacity#3 from pmallory/sharedDirAlert
Add a login alert to explain how to access Vagrant's shared directory
2 parents 574774b + b5b787e commit ebcbda6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

vagrant/pg_config.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
apt-get -qqy update
32
apt-get -qqy install postgresql python-psycopg2
43
apt-get -qqy install python-flask python-sqlalchemy
@@ -11,3 +10,7 @@ su postgres -c 'createuser -dRS vagrant'
1110
su vagrant -c 'createdb'
1211
su vagrant -c 'createdb forum'
1312
su vagrant -c 'psql forum -f /vagrant/forum/forum.sql'
13+
14+
vagrantTip="The shared directory is located at /vagrant\nTo access your shared files: cd /vagrant(B"
15+
echo -e $vagrantTip > /etc/motd
16+

0 commit comments

Comments
 (0)