-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
87 lines (73 loc) · 1.69 KB
/
config.yaml
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
---
vagrant:
api_version: 2
machines:
- hostname: test1
box: ubuntu/bionic64
provider: virtualbox
cpus: 4
memory: 2048
cpuexecutioncap: 60
vbguest:
auto_update: true
forwarded_ports:
- guest: 443
host: 8443
synced_folders:
- source: salt/roots/
destination: /srv/salt/
salt:
version: 2019.2.2
install_type: stable
python_version: 3
minion_config: salt/minion
install_master: false
masterless: true
run_highstate: true
- hostname: test2
box: ubuntu/bionic64
network:
- type: private_network
net: net1
auto_config: false
mac: deadbeefcafe
- type: private_network
net: net2
ip: dhcp
auto_config: true
mac: 00001111222e
- type: private_network
net: net3
ip: 192.168.0.10/24
auto_config: true
mac: 00000000013f
customize:
- - --nicpromisc2
- allow-all
- - --usb
- 'off'
- - --audiocontroller
- AC97
- - --audio
- 'Null'
inline: |
apt update
apt install -y python-pip
echo $HOSTNAME > /root/hostname.txt
- hostname: wintest1
box: cdaf/WindowsServer
guest: windows
communicator: winrm
memory: 2048
forwarded_ports:
- guest: 3389
host: 3389
customize:
- - --vram
- 24
inline: |
$ChocoInstallPath = "$env:SystemDrive\ProgramData\Chocolatey\bin"
if (!(Test-Path $ChocoInstallPath)) {
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
}
choco install -y googlechrome