# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|
  config.vm.box = "centos/7"

  config.vm.network :forwarded_port, guest: 22, host: 2223, id: "ssh"

  config.vm.provision "shell", inline: <<-SHELL
    #yum update -y
    yum install -y epel-release rpm-build nc lsof socat
    yum install -y golang python-pip
    #yum upgrade -y
    pip install --upgrade pip
    pip install robotframework
    grep normuser /etc/passwd >/dev/null || useradd normuser -m
  SHELL
end
