mirror of
https://github.com/Echtzeitsysteme/gips-gcm-2023-artifact-vm.git
synced 2024-06-02 18:32:06 +00:00
22 lines
645 B
Ruby
22 lines
645 B
Ruby
Vagrant.configure("2") do |config|
|
|
config.vm.box = "gips"
|
|
config.vm.define 'ubuntu'
|
|
config.vm.provider :virtualbox do |vb|
|
|
vb.name = "gips-gcm"
|
|
vb.memory = 8192
|
|
vb.cpus = 2
|
|
end
|
|
|
|
# Copy artifact-specific file(s)
|
|
config.vm.provision "file", source: "./tutorial.pdf", destination: "Desktop/tutorial.pdf"
|
|
|
|
config.vm.provision "shell", path: "prov.sh", privileged: false
|
|
|
|
# Prevent SharedFoldersEnableSymlinksCreate errors
|
|
config.vm.synced_folder ".", "/vagrant", disabled: true
|
|
|
|
config.ssh.username = 'vagrant'
|
|
config.ssh.password = 'vagrant'
|
|
config.ssh.insert_key = false
|
|
end
|