Debian Codegraph @

vagrant/centos7/Vagrantfile

raw
1 # -*- mode: ruby -*-
2 # vi: set ft=ruby :
3
4 ####################################
5 # CentOS 7 Build
6 #
7 # Downloads and installs the latest
8 # CentOS 6 build posted to S3 from
9 # Jenkins in a CentOS 7 VM.
10 #
11 # IP: 10.0.0.68
12 # Admin dash username: admin
13 # Admin dash password: password
14 #
15 # NOTE that this image uses a custom box. It's based off of the
16 # minimal CentOS 7 box on vagrantbox.es, but we bumped to guest
17 # additions to match 4.3.20. On my Ubuntu 14.04 machine, I needed
18 # 4.3.20 Virtual box on the host machine and this custom image
19 # on the guest machine to get shared folders to work.
20 #
21 ####################################
22
23
24 # Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
25 VAGRANTFILE_API_VERSION = "2"
26
27 Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
28 # All Vagrant configuration is done here. The most common configuration
29 # options are documented and commented below. For a complete reference,
30 # please see the online documentation at vagrantup.com.
31
32 # Every Vagrant virtual environment requires a box to build off of.
33 config.vm.box = "centos7-20"
34
35 # The url from where the 'config.vm.box' box will be fetched if it
36 # doesn't already exist on the user's system.
37 config.vm.box_url = "https://s3-us-west-2.amazonaws.com/rstudio-vagrant-boxes/boxes/centos7.box"
38
39 config.vm.host_name = "sso-centos7-latest"
40
41 config.vm.provision "shell", path: "setup.sh"
42
43 # Create a forwarded port mapping which allows access to a specific port
44 # within the machine from a port on the host machine. In the example below,
45 # accessing "localhost:8080" will access port 80 on the guest machine.
46 # config.vm.network :forwarded_port, guest: 80, host: 8080
47
48 # Create a private network, which allows host-only access to the machine
49 # using a specific IP.
50 config.vm.network :private_network, ip: "10.0.0.62"
51
52 # Create a public network, which generally matched to bridged network.
53 # Bridged networks make the machine appear as another physical device on
54 # your network.
55 # config.vm.network :public_network
56
57 # If true, then any SSH connections made will enable agent forwarding.
58 # Default value: false
59 # config.ssh.forward_agent = true
60
61 # Share an additional folder to the guest VM. The first argument is
62 # the path on the host to the actual folder. The second argument is
63 # the path on the guest to mount the folder. And the optional third
64 # argument is a set of non-required options.
65 # config.vm.synced_folder "../data", "/vagrant_data"
66
67 # Provider-specific configuration so you can fine-tune various
68 # backing providers for Vagrant. These expose provider-specific options.
69 # Example for VirtualBox:
70 #
71 config.vm.provider :virtualbox do |vb|
72 # Don't boot with headless mode
73 # vb.gui = true
74
75 # Use VBoxManage to customize the VM. For example to change memory:
76 vb.customize ["modifyvm", :id, "--memory", "1024"]
77 end
78 #
79 # View the documentation for the provider you're using for more
80 # information on available options.
81
82 end