The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / src / etc / profile
diff --git a/cirros-testvm/src-cirros/src/etc/profile b/cirros-testvm/src-cirros/src/etc/profile
new file mode 100644 (file)
index 0000000..60dfe22
--- /dev/null
@@ -0,0 +1,18 @@
+# vi: ts=4 noexpandtab syntax=sh
+
+export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+
+ENV=$HOME/.shrc; export ENV
+
+# If running interactively, then:
+if [ "$PS1" ]; then
+       if [ "`id -u`" -eq 0 ]; then
+               export PS1='# '
+       else
+               export PS1='$ '
+       fi
+       export USER=`id -un`
+       export LOGNAME=$USER
+       export HOSTNAME=`/bin/hostname`
+       export EDITOR='/bin/vi'
+fi;