-
Notifications
You must be signed in to change notification settings - Fork 101
/
Copy pathVagrantfile
34 lines (29 loc) · 1.27 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
Vagrant.configure("2") do |config|
###
### Notes:
### Using the provided base boxes is not required to use the software
### Base boxes are provisioned from the following location
### * https://github.com/nasa-itc/deployment
### Links to which commit was used is captured in the box release notes
###
### Uncomment one of the following to select configuration
#config.vm.box = "nos3/rocky" # Not yet updated to support
config.vm.box = "nos3/ubuntu"
### Specify version
config.vm.box_version = "20250217"
### Share host NOS3 repository into VM
config.vm.synced_folder ".", "/home/jstar/Desktop/github-nos3",
owner: 'jstar', group:'vboxsf', automount:'true',
mount_options: ["dmode=0770", "fmode=0770"]
### General configuration
config.vm.disk :disk, size: "64GB", primary: true
config.vm.provider "virtualbox" do |vbox|
vbox.name = "nos3_20250217"
vbox.gui = true
### Enable additional configuration as needed
vbox.cpus = 4
vbox.memory = "8192"
end
### Extend the partition to use all available space
config.vm.provision "shell", inline: "growpart /dev/sda 3 && lvextend -l +100%FREE -r /dev/mapper/ubuntu--vg-ubuntu--lv && exit 0"
end