2016-11-30 06:21:53 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -eu
|
|
|
|
|
2018-04-24 21:02:26 +02:00
|
|
|
# Required for newer mysql-server packages to install/upgrade on Ubuntu 16.04.
|
|
|
|
rm -f /usr/sbin/policy-rc.d
|
|
|
|
|
2016-11-30 06:21:53 +01:00
|
|
|
# Improve prompts on remote host for interactive use.
|
2018-09-21 20:38:22 +02:00
|
|
|
# shellcheck disable=SC1117
|
2016-11-30 06:21:53 +01:00
|
|
|
cat << EOF > ~/.bashrc
|
|
|
|
alias ls='ls --color=auto'
|
|
|
|
export PS1='\[\e]0;\u@\h: \w\a\]\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
|
|
|
cd ~/ansible/
|
|
|
|
EOF
|