diff options
author | ramon <ramongomez@us.es> | 2016-07-01 11:46:43 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2016-07-01 11:46:43 +0000 |
commit | 6129d4aa52b3ae4a55dd9d01fac29021834f2c4f (patch) | |
tree | bfb09915aedc22c5eced7c53f5df73f822407b22 /installer/vagrant/Vagrantfile-ogagent-vbox | |
parent | 2489637dace2f8c348e0b41c3b00ed11c4957325 (diff) |
#739: Mejoras en MV Vagrant para generar OGAgent: volver a habilitar directorio compartido y posibilidad de elegir entre Eclipse o ATOM.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@4972 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'installer/vagrant/Vagrantfile-ogagent-vbox')
-rw-r--r-- | installer/vagrant/Vagrantfile-ogagent-vbox | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/installer/vagrant/Vagrantfile-ogagent-vbox b/installer/vagrant/Vagrantfile-ogagent-vbox index aa1d155c..4f6cf605 100644 --- a/installer/vagrant/Vagrantfile-ogagent-vbox +++ b/installer/vagrant/Vagrantfile-ogagent-vbox @@ -20,17 +20,21 @@ localectl set-x11-keymap ${LANG%_*} # Update repositories. dnf install -y http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm # Install main dependencies. -dnf install -y debhelper dpkg-dev pyqt4-devel rpm-build subversion samba-winbind wine.i686 mingw32-wine-gecko wine-mono +dnf install -y kernel-devel-$(uname -r) debhelper dpkg-dev pyqt4-devel rpm-build subversion samba-winbind wine.i686 mingw32-wine-gecko wine-mono cabextract # Install desktop (XFCE) and GUI utils. -dnf install -y @xfce-desktop-environment firefox eclipse-pydev eclipse-nls-${LANG%_*} VirtualBox-guest kmod-VirtualBox akmod-VirtualBox akmods +dnf install -y @xfce-desktop-environment firefox VirtualBox-guest kmod-VirtualBox akmod-VirtualBox akmods ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target sed -i '$d' /usr/lib/udev/rules.d/60-vboxguest.rules akmods && systemctl restart systemd-modules-load.service +# Install Eclipse IDE for Python (it needs some disk space). +dnf install -y eclipse-pydev eclipse-nls-${LANG%_*} +# Comment out next line if you prefer to install ATOM editor. +#wget -q https://atom.io/download/rpm -O /tmp/atom.rpm && dnf install -y /tmp/atom.rpm && rm -f /tmp/atom.rpm # Download OGAgent environment installer. svn export http://opengnsys.es/svn/branches/version1.1/installer/ogagent-devel-installer.sh /home/vagrant # Instructions. echo "Manual operations:" -echo "- Launch desktop: startxfce4 &" +echo "- Reboot VM or launch desktop: startxfce4 &" echo "- Enlarge VM window." echo "- To prepare OGAgent environment, execute: ./ogagent-devel-installer.sh" echo "- Before modify OGAgent code, configure Eclipse:" @@ -53,8 +57,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # VM base and host name. ag.vm.box = "fedora/23-cloud-base" ag.vm.hostname = "ogAgent" - # Disable synced folder. - ag.vm.synced_folder ".", "/vagrant", disabled: true + # Comment out if you want to disable synced folder. + #ag.vm.synced_folder ".", "/vagrant", disabled: true # Launch provisioning script. ag.vm.provision "shell", inline: SCRIPT end |