-
Notifications
You must be signed in to change notification settings - Fork 67
Home
How to install this demo in a latest centos 7 guest, with latest rundeck, using Virtualbox provider, on a Linux Host
cd ; mkdir vagrantVMs ; cd vagrantVMs
git clone https://github.com/rundeck/anvils-demo.git
cd anvils-demo
## Put the information to get the latest centos 7
Modify Vagrantfile:
vi Vagrantfile
to put these values (in date of the 7th of sept., 2019)
config.vm.box_version = "201907.24.0"
̀config.vm.box = "bento/centos-7"
## Modify the scripts install-rundeck.sh and add-projects.sh
Comment in "add-project.sh" line 3:
#set -eu
That prevents in Centos 7.3 the creation of the nodes in the "for" statement
And, line 170, correct the file to have:
rd adhoc -p $PROJECT --follow --filter 'tags: anvils' -- whoami \&\& hostname
instead of
rd adhoc -p $PROJECT --follow --filter 'tags: anvils' -- whoami \&\& "echo -- \${node.description}"
Also modify the file "install-rundeck.sh" to have:
if ! grep "Grails application running" /var/log/rundeck/service.log
line 144
Start the VM, 1rst launch runs provisionning:
vagrant up rundeck
SSH in the VM:
vagrant ssh rundeck
## Downloaded files
The downloaded bentos/centos-7 files are located in ~/.vagrant.d/boxes/bento-VAGRANTSLASH-centos-7/201907.24.0/virtualbox/:
`ls ~/.vagrant.d/boxes/bento-VAGRANTSLASH-centos-7/201907.24.0/virtualbox/
box.ovf
box_update_check
centos-7.6-x86_64-disk001.vmdk
metadata.json
Vagrantfile`
Rundeck Acme Anvils tutorial: https://docs.rundeck.com/docs/tutorials/index.html