summaryrefslogtreecommitdiff
path: root/google-compute-engine/etc/skel/.profile
diff options
context:
space:
mode:
authorMark Doffman <mark.doffman@codethink.co.uk>2015-04-14 20:23:30 +0000
committerMark Doffman <mark.doffman@codethink.co.uk>2015-04-23 14:56:17 +0000
commitba8e2119c6fc5e4d9023fae558b6ec93a749af3d (patch)
tree6f098793ca5b8406f7fa9cad4b12c5bc751564e4 /google-compute-engine/etc/skel/.profile
parent888021ec62166ca95b3e587c744dcbcac42e7dc6 (diff)
downloaddefinitions-baserock/markdoffman/google-compute-engine-rebase.tar.gz
Add strata, systems and cluster morpologies for google compute engine.baserock/markdoffman/google-compute-engine-rebase
Add the ability to create baserock images compatible with google compute engine. Add an example cluster morphology that does this. Change-Id: I3ecaef8c760fe2c539969d2f86fc704b3232e5bb
Diffstat (limited to 'google-compute-engine/etc/skel/.profile')
-rw-r--r--google-compute-engine/etc/skel/.profile22
1 files changed, 22 insertions, 0 deletions
diff --git a/google-compute-engine/etc/skel/.profile b/google-compute-engine/etc/skel/.profile
new file mode 100644
index 00000000..c9db4591
--- /dev/null
+++ b/google-compute-engine/etc/skel/.profile
@@ -0,0 +1,22 @@
+# ~/.profile: executed by the command interpreter for login shells.
+# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
+# exists.
+# see /usr/share/doc/bash/examples/startup-files for examples.
+# the files are located in the bash-doc package.
+
+# the default umask is set in /etc/profile; for setting the umask
+# for ssh logins, install and configure the libpam-umask package.
+#umask 022
+
+# if running bash
+if [ -n "$BASH_VERSION" ]; then
+ # include .bashrc if it exists
+ if [ -f "$HOME/.bashrc" ]; then
+ . "$HOME/.bashrc"
+ fi
+fi
+
+# set PATH so it includes user's private bin if it exists
+if [ -d "$HOME/bin" ] ; then
+ PATH="$HOME/bin:$PATH"
+fi