manila-image-elements/elements/manila-ubuntu-minimal/post-install.d/50-update-vim-config
vponomaryov 5ddd59814a Use ubuntu-minimal instead of ubuntu-core
Support of ubuntu-core was dropped and now it is impossible to
continue using it. Therefore, start using ubuntu-minimal OS element
for building image.

Also, add 'other-requirements.txt' file with list of required system
packages to be installed prior to buidling image.

Change-Id: Ief7059b9e6cc2aad03c81225663f5313a8d2f5f2
Closes-Bug: #1586351
2016-05-31 19:43:31 +03:00

18 lines
411 B
Bash
Executable File

#!/bin/bash
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
set -x
fi
set -eu
set -o pipefail
# Add useful config options for vim config
vim_config="/etc/vim/vimrc"
echo "set hls is" >> $vim_config
echo "set tabstop=4" >> $vim_config
echo "set shiftwidth=4" >> $vim_config
echo "set expandtab" >> $vim_config
echo "set nu" >> $vim_config
echo "set background=dark" >> $vim_config
echo "set cc=80" >> $vim_config