-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathVagrantfile
57 lines (47 loc) · 1.82 KB
/
Vagrantfile
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
Vagrant.configure("2") do |config|
config.vm.box = "generic/rocky9"
config.vm.provider "libvirt" do |libvirt|
libvirt.machine_virtual_size = 128
libvirt.memory = 8192
libvirt.cpus = 8
# libvirt.video_type = "vga"
# libvirt.video_vram = "1024"
libvirt.machine_type = "q35"
libvirt.cpu_mode = "host-passthrough"
libvirt.qemu_use_session = false
end
config.vm.synced_folder ".", "/vagrant", type: "nfs", nfs_version: 4
config.vm.provision "lock-releasever",
type: 'shell',
run: 'once',
path: './scripts/lock-release.sh'
config.vm.provision "install-dev-packages",
type: 'shell',
run: 'once',
path: './scripts/install-dev-packages.sh'
config.vm.provision "build-e2fsprogs",
type: 'shell',
run: 'once',
path: './scripts/build-e2fsprogs.sh',
privileged: false
config.vm.provision "setup-lustre-dev",
type: 'shell',
run: 'once',
path: './scripts/setup-lustre-dev.sh',
privileged: false
config.vm.provision "prepare-kernel",
type: 'shell',
run: 'once',
path: './scripts/prepare-kernel.sh',
privileged: false
config.vm.provision "build-lustre",
type: 'shell',
run: 'never',
path: './scripts/build-lustre.sh',
privileged: false
config.vm.provision "rust",
type: 'shell',
run: 'never',
path: './scripts/install-rust.sh',
privileged: false
end