This repository has been archived by the owner on Nov 17, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added boxgrinder-meta appliance with minor mods
- Loading branch information
Showing
2 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: boxgrinder-base | ||
summary: Appliance template for BoxGrinder appliances | ||
os: | ||
name: fedora | ||
version: 15 | ||
hardware: | ||
memory: 256 | ||
partitions: | ||
"/": | ||
size: 1 | ||
packages: | ||
- @core | ||
- openssh-clients | ||
- which | ||
- wget | ||
- ntp | ||
post: | ||
base: | ||
- "echo -e '[boxgrinder-nightly]\nname=BoxGrinder Nightly builds for Fedora\nbaseurl=http://repo.ci.boxgrinder.org/fedora/14/RPMS/\nenabled=0\ngpgcheck=0' > /etc/yum.repos.d/boxgrinder-nightly.repo" | ||
- "chkconfig ntpd on" | ||
repos: | ||
- name: "boxgrinder-#BASE_ARCH#" | ||
baseurl: "http://repo.boxgrinder.org/boxgrinder/packages/#OS_NAME#/#OS_VERSION#/RPMS/#BASE_ARCH#" | ||
- name: "boxgrinder-noarch" | ||
baseurl: "http://repo.boxgrinder.org/boxgrinder/packages/#OS_NAME#/#OS_VERSION#/RPMS/noarch" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: boxgrinder-meta | ||
summary: Environment for building new appliances using BoxGrinder | ||
version: 1 | ||
release: 7 | ||
hardware: | ||
memory: 1024 | ||
partitions: | ||
"/": | ||
size: 30 | ||
appliances: | ||
- boxgrinder-base | ||
packages: | ||
- createrepo | ||
- git | ||
- rpmdevtools | ||
- createrepo | ||
- guestfish | ||
- rubygem-bundler | ||
- rubygem-boxgrinder-build | ||
- vim-enhanced | ||
post: | ||
base: | ||
- "yum --nogpg -y install http://repo.boxgrinder.org/boxgrinder/meta/boxgrinder-meta-addins-1-0.noarch.rpm" | ||
- "/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" | ||
# setup tab presses to be 2 spaces | ||
- "/bin/echo 'set tabstop=2' >> /root/.vimrc" | ||
- "/bin/echo 'set shiftwidth=2' >> /root/.vimrc" | ||
- "/bin/echo 'set expandtab' >> /root/.vimrc" | ||
|