-
Notifications
You must be signed in to change notification settings - Fork 4
/
boxes-scripted.example
57 lines (55 loc) · 1.64 KB
/
boxes-scripted.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
- name: database
hostname: database.vagrant
description: Sybase Database server
box: generic/centos7
box_version: "3.1.8"
cpus: 2
memory: 2048
# WSL / Docker Desktop users ? uncomment the above line
# paravirtprovider: hyperv
forward_port:
- name: ssh
port: 22
expose: 42222
provision:
meta-data: ./hack/cloud-init/nocloud-net/meta-data.yaml
user-data: ./hack/cloud-init/nocloud-net/user-data_database.yaml
cloud-init: ./hack/vagrant/scripts/cloud-init.sh
packages:
- ./hack/vagrant/packages/ASE_Suite.linuxamd64.tgz
files:
- ./hack/vagrant/files/sysctl.conf
- ./hack/vagrant/files/interfaces
- ./hack/vagrant/files/sybase-ase.rs
- ./hack/vagrant/files/sybase-ase-response.conf
- ./hack/vagrant/files/sybase.service
scripts:
- ./hack/vagrant/scripts/start-server.sh
- ./hack/vagrant/scripts/stop-server.sh
install: ./hack/vagrant/scripts/install-ASE.sh
- name: bastion
hostname: bastion.vagrant
description: Bastion server
box: generic/centos7
box_version: "3.1.8"
cpus: 1
memory: 1024
# WSL / Docker Desktop users ? uncomment the above line
# paravirtprovider: hyperv
forward_port:
- name: ssh
port: 22
expose: 52222
- name: sybase
port: 5000
expose: 5000
provision:
meta-data: ./hack/cloud-init/nocloud-net/meta-data.yaml
user-data: ./hack/cloud-init/nocloud-net/user-data_bastion.yaml
cloud-init: ./hack/vagrant/scripts/cloud-init.sh
packages:
- ./hack/vagrant/packages/ASE_Suite.linuxamd64.tgz
files:
- ./hack/vagrant/files/sybase-ocs-response.conf
install: ./hack/vagrant/scripts/install-OCS.sh