Skip to content

Instantly share code, notes, and snippets.

@nacx
Created February 12, 2013 16:14
Show Gist options
  • Select an option

  • Save nacx/4770998 to your computer and use it in GitHub Desktop.

Select an option

Save nacx/4770998 to your computer and use it in GitHub Desktop.
Bootstrap and configure a VirtualBox node for a concrete Abiquo version
#!/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