Created
February 12, 2013 16:14
-
-
Save nacx/4770998 to your computer and use it in GitHub Desktop.
Bootstrap and configure a VirtualBox node for a concrete Abiquo version
This file contains hidden or 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
| #!/bin/bash | |
| if [[ $# -ne 1 ]]; then | |
| echo "Usage ${0} abiquo <version>" | |
| exit 1 | |
| fi | |
| /etc/init.d/abiquo-aim stop | |
| sed -i -e "s/\$releasever/${1}/g" /etc/yum.repos.d/Abiquo-Base.repo | |
| yum clean all | |
| yum upgrade -y abiquo-aim abiquo-release-ee | |
| abiquo-aim -version | |
| /etc/init.d/abiquo-aim start | |
| /etc/init.d/vboxdrv setup | |
| /etc/init.d/vboxweb-service start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment