forked from boxgrinder/boxgrinder-appliances
/
boxgrinder-meta.appl
30 lines (29 loc) · 971 Bytes
/
boxgrinder-meta.appl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: boxgrinder-meta
summary: Environment for building new appliances using BoxGrinder
version: 1
release: 6
hardware:
memory: 1024
partitions:
"/":
size: 10
appliances:
- boxgrinder-base
packages:
- createrepo
- git
- rpmdevtools
- createrepo
- guestfish
- rubygem-bundler
- rubygem-boxgrinder-build
- vim-enhanced
post:
base:
- "/bin/echo 'yum -y update rubygem-boxgrinder-core rubygem-boxgrinder-build --enablerepo=\"updates\"' >> /etc/rc.local"
# grab and setup yaml syntax highlighting for vim
- "[[ ! -d '/root/.vim' ]] && /bin/mkdir /root/.vim"
- "/usr/bin/curl http://www.vim.org/scripts/download_script.php?src_id=2249 > /root/.vim/yaml.vim"
- "/bin/echo 'au BufNewFile,BufRead *.appl,*.yaml,*.yml so ~/.vim/yaml.vim' >> /root/.vimrc"
- "/bin/echo 'syntax on' >> /root/.vimrc"
- "/bin/echo 'yum -y update rubygem-boxgrinder-core rubygem-boxgrinder-build --enablerepo=\"updates\"' >> /etc/rc.local"